Skip to content

Commit 84c09a9

Browse files
authored
Update
1 parent 53c2b40 commit 84c09a9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

contract/SimpleNft.sol

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

100100
//only owner
101-
function reveal() public onlyOwner() {
101+
function reveal() public onlyOwner {
102102
revealed = true;
103103
}
104104

105-
function setCost(uint256 _newCost) public onlyOwner() {
105+
function setCost(uint256 _newCost) public onlyOwner {
106106
cost = _newCost;
107107
}
108108

109-
function setmaxMintAmount(uint256 _newmaxMintAmount) public onlyOwner() {
109+
function setmaxMintAmount(uint256 _newmaxMintAmount) public onlyOwner {
110110
maxMintAmount = _newmaxMintAmount;
111111
}
112112

@@ -130,4 +130,4 @@ contract NFT is ERC721Enumerable, Ownable {
130130
(bool success, ) = payable(msg.sender).call{value: address(this).balance}("");
131131
require(success);
132132
}
133-
}
133+
}

0 commit comments

Comments
 (0)