Deprecated ERC721._burn(address, uint256) (#1550)
* Deprecated ERC721._burn(address, uint256) * Added missing natspec comment.
This commit is contained in:
committed by
Francisco Giordano
parent
357fded2b5
commit
dd2e947976
@ -12,6 +12,6 @@ contract ERC721Mock is ERC721 {
|
||||
}
|
||||
|
||||
function burn(uint256 tokenId) public {
|
||||
_burn(ownerOf(tokenId), tokenId);
|
||||
_burn(tokenId);
|
||||
}
|
||||
}
|
||||
|
||||
@ -13,7 +13,7 @@ contract ERC721PausableMock is ERC721Pausable, PauserRoleMock {
|
||||
}
|
||||
|
||||
function burn(uint256 tokenId) public {
|
||||
super._burn(ownerOf(tokenId), tokenId);
|
||||
super._burn(tokenId);
|
||||
}
|
||||
|
||||
function exists(uint256 tokenId) public view returns (bool) {
|
||||
|
||||
Reference in New Issue
Block a user