Make ERC1155.uri public (#2576)

(cherry picked from commit 5dbbda5435)
This commit is contained in:
Hadrien Croubois
2021-03-08 19:42:34 +01:00
committed by Francisco Giordano
parent 0b3e0d74b0
commit 27fc833550
2 changed files with 2 additions and 1 deletions

View File

@ -55,7 +55,7 @@ contract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI {
* Clients calling this function must replace the `\{id\}` substring with the
* actual token type ID.
*/
function uri(uint256) external view virtual override returns (string memory) {
function uri(uint256) public view virtual override returns (string memory) {
return _uri;
}