We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 03bd390 commit 7696589Copy full SHA for 7696589
src/contracts/tokens/nf-token.sol
@@ -22,7 +22,7 @@ contract NFToken is
22
string constant ZERO_ADDRESS = "003001";
23
string constant NOT_VALID_NFT = "003002";
24
string constant NOT_OWNER_OR_OPERATOR = "003003";
25
- string constant NOT_OWNER_APPROWED_OR_OPERATOR = "003004";
+ string constant NOT_OWNER_APPROVED_OR_OPERATOR = "003004";
26
string constant NOT_ABLE_TO_RECEIVE_NFT = "003005";
27
string constant NFT_ALREADY_EXISTS = "003006";
28
string constant NOT_OWNER = "003007";
@@ -83,7 +83,7 @@ contract NFToken is
83
tokenOwner == msg.sender
84
|| idToApproval[_tokenId] == msg.sender
85
|| ownerToOperators[tokenOwner][msg.sender],
86
- NOT_OWNER_APPROWED_OR_OPERATOR
+ NOT_OWNER_APPROVED_OR_OPERATOR
87
);
88
_;
89
}
0 commit comments