From 29b2b1538cbc6ee6c2bc7135a45e219473c7de03 Mon Sep 17 00:00:00 2001 From: Dan Oved Date: Tue, 17 Oct 2023 17:03:19 -0700 Subject: [PATCH] dont check royalty mint schedule in second check --- .../1155-contracts/src/royalties/CreatorRoyaltiesControl.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/1155-contracts/src/royalties/CreatorRoyaltiesControl.sol b/packages/1155-contracts/src/royalties/CreatorRoyaltiesControl.sol index fd1717e17..0d1659c51 100644 --- a/packages/1155-contracts/src/royalties/CreatorRoyaltiesControl.sol +++ b/packages/1155-contracts/src/royalties/CreatorRoyaltiesControl.sol @@ -38,7 +38,7 @@ abstract contract CreatorRoyaltiesControl is CreatorRoyaltiesStorageV1, SharedBa revert InvalidMintSchedule(); } // Don't allow setting royalties to burn address - if (configuration.royaltyRecipient == address(0) && (configuration.royaltyMintSchedule > 0 || configuration.royaltyBPS > 0)) { + if (configuration.royaltyRecipient == address(0) && configuration.royaltyBPS > 0) { revert InvalidMintSchedule(); } royalties[tokenId] = configuration;