Skip to content

Commit c3b501a

Browse files
Krishang NadgaudaKrishang Nadgauda
authored andcommitted
DropERC1155: cleanup commented code
1 parent 6ac3bd5 commit c3b501a

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

contracts/drop/DropERC1155.sol

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,10 @@ contract DropERC1155 is
156156
return super.supportsInterface(interfaceId) || type(IERC2981Upgradeable).interfaceId == interfaceId;
157157
}
158158

159+
/*///////////////////////////////////////////////////////////////
160+
Contract identifiers
161+
//////////////////////////////////////////////////////////////*/
162+
159163
function contractType() external pure returns (bytes32) {
160164
return bytes32("DropERC1155");
161165
}
@@ -232,9 +236,6 @@ contract DropERC1155 is
232236
AllowlistProof calldata,
233237
bytes memory
234238
) internal view override {
235-
// if (_tokenId >= nextTokenIdToLazyMint) {
236-
// revert("Not enough minted tokens");
237-
// }
238239
require(
239240
maxTotalSupply[_tokenId] == 0 || totalSupply[_tokenId] + _quantity <= maxTotalSupply[_tokenId],
240241
"exceed max total supply"

0 commit comments

Comments
 (0)