Skip to content

Commit

Permalink
fix: prevent tokenURI variable shadowing (#184)
Browse files Browse the repository at this point in the history
  • Loading branch information
nmlinaric authored May 2, 2023
1 parent df632f1 commit b321f19
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contracts/ERC721MinterBurnerPauser.sol
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ contract ERC721MinterBurnerPauser is Context, AccessControl, ERC721Burnable, ERC
* Token URIs will be autogenerated based on `baseURI` and their token IDs.
* See {ERC721-tokenURI}.
*/
constructor(string memory name, string memory symbol, string memory baseURI) ERC721(name, symbol) {
constructor(string memory name, string memory symbol, string memory tokenBaseURI) ERC721(name, symbol) {
_setupRole(DEFAULT_ADMIN_ROLE, _msgSender());

_setupRole(MINTER_ROLE, _msgSender());
_setupRole(PAUSER_ROLE, _msgSender());

_setBaseURI(baseURI);
_setBaseURI(tokenBaseURI);
}

/**
Expand Down

0 comments on commit b321f19

Please sign in to comment.