Skip to content

Commit

Permalink
update code comments
Browse files Browse the repository at this point in the history
  • Loading branch information
dreamer-zq committed Apr 13, 2024
1 parent c895222 commit d68dc71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/Token.sol
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ contract Token is ERC20, ERC20Permit, Ownable, ReentrancyGuard {
string memory to,
uint256 amount
) public nonReentrant {
require(bytes(to).length > 0, "to must be vaild iaa address");
require(bytes(to).length > 0, "to must be a vaild iaa address");
_burn(msg.sender, amount);
emit SwapToNative(to, amount);
}
Expand Down

0 comments on commit d68dc71

Please sign in to comment.