Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: Adam Wolf <[email protected]>
  • Loading branch information
wolfy-nft committed Dec 18, 2024
1 parent fd3fc3b commit fb00eab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contracts/nft/erc721m/clones/ERC721MagicDropCloneable.sol
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ contract ERC721MagicDropCloneable is ERC721MagicDropMetadataCloneable {

// Ensure the public stage starts after the allowlist stage ends
if (_allowlistStage.startTime != 0 && _allowlistStage.endTime != 0) {
if (stage.startTime < _allowlistStage.endTime) {
if (stage.startTime <= _allowlistStage.endTime) {
revert InvalidPublicStageTime();
}
}
Expand All @@ -290,7 +290,7 @@ contract ERC721MagicDropCloneable is ERC721MagicDropMetadataCloneable {

// Ensure the public stage starts after the allowlist stage ends
if (_publicStage.startTime != 0 && _publicStage.endTime != 0) {
if (stage.endTime > _publicStage.startTime) {
if (stage.endTime >= _publicStage.startTime) {
revert InvalidAllowlistStageTime();
}
}
Expand Down

0 comments on commit fb00eab

Please sign in to comment.