Skip to content

Commit 2ff0e8c

Browse files
committed
feat: changed bounds
1 parent 9269b99 commit 2ff0e8c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hardhat/contracts/SolverNodes.sol

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ contract SolverNodes is ERC721, ERC721URIStorage, ERC721Pausable, Ownable, Reent
121121
}
122122

123123
function setTransferAllowedWhitelist(address[] memory _transferAllowedWhitelist) public onlyOwner {
124-
require(_transferAllowedWhitelist.length <= 100, "Max 100 addresses allowed");
124+
require(_transferAllowedWhitelist.length <= 20, "Max 20 addresses allowed");
125125
transferAllowedWhitelist = _transferAllowedWhitelist;
126126
emit TransferAllowedWhitelistUpdated(_transferAllowedWhitelist);
127127
}
@@ -139,7 +139,7 @@ contract SolverNodes is ERC721, ERC721URIStorage, ERC721Pausable, Ownable, Reent
139139
}
140140

141141
function setWhitelistCollection(address[] memory _whitelistCollection) public onlyOwner {
142-
require(_whitelistCollection.length <= 100, "Max 100 addresses allowed");
142+
require(_whitelistCollection.length <= 20, "Max 20 addresses allowed");
143143
whitelistCollection = _whitelistCollection;
144144
emit WhitelistCollectionUpdated(_whitelistCollection);
145145
}

0 commit comments

Comments
 (0)