Skip to content

Commit

Permalink
dont check royalty mint schedule in second check
Browse files Browse the repository at this point in the history
  • Loading branch information
oveddan committed Oct 18, 2023
1 parent 171f915 commit 3ffa41e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 3ffa41e

Please sign in to comment.