Skip to content

Commit

Permalink
fix: NOJIRA: Correct typo in mint check. (#100)
Browse files Browse the repository at this point in the history
  • Loading branch information
dlevy47 authored Sep 27, 2023
1 parent 70fa817 commit 494e2c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/token/erc721/abstract/ImmutableERC721Base.sol
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ abstract contract ImmutableERC721Base is

/// @dev mints specified token ids to specified address
function _batchMint(IDMint memory mintRequest) internal {
if (mintRequest.to != address(0)) {
if (mintRequest.to == address(0)) {
revert IImmutableERC721SendingToZerothAddress();
}
for (uint256 j = 0; j < mintRequest.tokenIds.length; j++) {
Expand Down

0 comments on commit 494e2c9

Please sign in to comment.