This commit is contained in:
Hadrien Croubois
2023-07-07 16:13:17 +02:00
parent 0bb98cb8c6
commit 5ab254cf95
6 changed files with 6 additions and 30 deletions

View File

@ -68,11 +68,7 @@ abstract contract ERC721URIStorage is IERC4906, ERC721 {
* token-specific URI was set for the token, and if so, it deletes the token URI from
* the storage mapping.
*/
function _update(
address from,
address to,
uint256 tokenId
) internal virtual override {
function _update(address from, address to, uint256 tokenId) internal virtual override {
super._update(from, to, tokenId);
if (to == address(0) && bytes(_tokenURIs[tokenId]).length != 0) {