File tree Expand file tree Collapse file tree 2 files changed +0
-2
lines changed Expand file tree Collapse file tree 2 files changed +0
-2
lines changed Original file line number Diff line number Diff line change @@ -463,7 +463,6 @@ contract DropERC20 is
463
463
464
464
/// @dev Lets a contract admin set the global maximum supply of tokens.
465
465
function setMaxTotalSupply (uint256 _maxTotalSupply ) external onlyRole (DEFAULT_ADMIN_ROLE) {
466
- require (_maxTotalSupply < totalSupply (), "already minted more than desired max supply " );
467
466
maxTotalSupply = _maxTotalSupply;
468
467
emit MaxTotalSupplyUpdated (_maxTotalSupply);
469
468
}
Original file line number Diff line number Diff line change @@ -632,7 +632,6 @@ contract DropERC721 is
632
632
633
633
/// @dev Lets a contract admin set the global maximum supply for collection's NFTs.
634
634
function setMaxTotalSupply (uint256 _maxTotalSupply ) external onlyRole (DEFAULT_ADMIN_ROLE) {
635
- require (_maxTotalSupply < nextTokenIdToMint, "existing > desired max supply " );
636
635
maxTotalSupply = _maxTotalSupply;
637
636
emit MaxTotalSupplyUpdated (_maxTotalSupply);
638
637
}
You can’t perform that action at this time.
0 commit comments