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
463463
464464 /// @dev Lets a contract admin set the global maximum supply of tokens.
465465 function setMaxTotalSupply (uint256 _maxTotalSupply ) external onlyRole (DEFAULT_ADMIN_ROLE) {
466- require (_maxTotalSupply < totalSupply (), "already minted more than desired max supply " );
467466 maxTotalSupply = _maxTotalSupply;
468467 emit MaxTotalSupplyUpdated (_maxTotalSupply);
469468 }
Original file line number Diff line number Diff line change @@ -632,7 +632,6 @@ contract DropERC721 is
632632
633633 /// @dev Lets a contract admin set the global maximum supply for collection's NFTs.
634634 function setMaxTotalSupply (uint256 _maxTotalSupply ) external onlyRole (DEFAULT_ADMIN_ROLE) {
635- require (_maxTotalSupply < nextTokenIdToMint, "existing > desired max supply " );
636635 maxTotalSupply = _maxTotalSupply;
637636 emit MaxTotalSupplyUpdated (_maxTotalSupply);
638637 }
You can’t perform that action at this time.
0 commit comments