Skip to content

Commit 2d0957e

Browse files
authored
Update
1 parent 84c09a9 commit 2d0957e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

contract/SimpleNft_flat.sol

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1312,15 +1312,15 @@ contract NFT is ERC721Enumerable, Ownable {
13121312
}
13131313

13141314
//only owner
1315-
function reveal() public onlyOwner() {
1315+
function reveal() public onlyOwner {
13161316
revealed = true;
13171317
}
13181318

1319-
function setCost(uint256 _newCost) public onlyOwner() {
1319+
function setCost(uint256 _newCost) public onlyOwner {
13201320
cost = _newCost;
13211321
}
13221322

1323-
function setmaxMintAmount(uint256 _newmaxMintAmount) public onlyOwner() {
1323+
function setmaxMintAmount(uint256 _newmaxMintAmount) public onlyOwner {
13241324
maxMintAmount = _newmaxMintAmount;
13251325
}
13261326

@@ -1344,4 +1344,4 @@ contract NFT is ERC721Enumerable, Ownable {
13441344
(bool success, ) = payable(msg.sender).call{value: address(this).balance}("");
13451345
require(success);
13461346
}
1347-
}
1347+
}

0 commit comments

Comments
 (0)