Rename Strings.fromUint256 to Strings.toString (#2188)
* rename Strings.fromUint256 to Strings.toString * add changelog entry * fix conflict with js toString method
This commit is contained in:
committed by
GitHub
parent
3e139baa50
commit
8b10cb38d8
@ -153,7 +153,7 @@ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable
|
||||
return string(abi.encodePacked(_baseURI, _tokenURI));
|
||||
}
|
||||
// If there is a baseURI but no tokenURI, concatenate the tokenID to the baseURI.
|
||||
return string(abi.encodePacked(_baseURI, Strings.fromUint256(tokenId)));
|
||||
return string(abi.encodePacked(_baseURI, Strings.toString(tokenId)));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user