Skip to content

Commit

Permalink
remove redundant check
Browse files Browse the repository at this point in the history
  • Loading branch information
lpopo0856 committed Dec 24, 2024
1 parent ea867b2 commit 6b5b19d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions contracts/SeriesIndexer.sol
Original file line number Diff line number Diff line change
Expand Up @@ -279,10 +279,6 @@ contract SeriesIndexer is Ownable.Ownable {
uint256 seriesID,
address proposedArtistAddr
) external seriesExists(seriesID) onlyOwnerOrArtist(seriesID) {
if (proposedArtistAddr == address(0)) {
revert ZeroAddressNotAllowedError();
}

_ensureArtistHasID(proposedArtistAddr);
uint256 proposedArtistID = addressToArtistID[proposedArtistAddr];

Expand Down

0 comments on commit 6b5b19d

Please sign in to comment.