We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://github.com/su-squares/ethereum-contract/blob/master/contracts/SuNFT.sol#L48
modifier canTransfer(uint256 _tokenId) { // assert(msg.sender != address(this)) address owner = _tokenOwnerWithSubstitutions[_tokenId]; require(msg.sender == owner || msg.sender == tokenApprovals[_tokenId] || operatorApprovals[msg.sender][msg.sender]); _; }
should be
modifier canTransfer(uint256 _tokenId) { // assert(msg.sender != address(this)) address owner = _tokenOwnerWithSubstitutions[_tokenId]; require(msg.sender == owner || msg.sender == tokenApprovals[_tokenId] || operatorApprovals[owner][msg.sender]); _; }
The text was updated successfully, but these errors were encountered:
Credit goes to dfinzer at OpenSea! Thanks for your help.
Sorry, something went wrong.
Credit @dfinzer.
Check operator permissions, fixes #10
1668a35
Signed-off-by: William Entriken <[email protected]>
30f3057
Merge pull request #17 from su-squares/fix-operator-send
c687bfa
No branches or pull requests
https://github.com/su-squares/ethereum-contract/blob/master/contracts/SuNFT.sol#L48
should be
The text was updated successfully, but these errors were encountered: