Skip to content

Commit

Permalink
Merge pull request nibbstack#261 from 0xcert/sload-sstore
Browse files Browse the repository at this point in the history
eip-2200
  • Loading branch information
xpepermint authored May 20, 2021
2 parents 342793a + 39f6855 commit a9bb47a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
5 changes: 1 addition & 4 deletions src/contracts/tokens/nf-token-metadata.sol
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,7 @@ contract NFTokenMetadata is
{
super._burn(_tokenId);

if (bytes(idToUri[_tokenId]).length != 0)
{
delete idToUri[_tokenId];
}
delete idToUri[_tokenId];
}

/**
Expand Down
5 changes: 1 addition & 4 deletions src/contracts/tokens/nf-token.sol
Original file line number Diff line number Diff line change
Expand Up @@ -452,10 +452,7 @@ contract NFToken is
)
private
{
if (idToApproval[_tokenId] != address(0))
{
delete idToApproval[_tokenId];
}
delete idToApproval[_tokenId];
}

}

0 comments on commit a9bb47a

Please sign in to comment.