Skip to content

Commit 494e2c9

Browse files
authored
fix: NOJIRA: Correct typo in mint check. (#100)
1 parent 70fa817 commit 494e2c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contracts/token/erc721/abstract/ImmutableERC721Base.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ abstract contract ImmutableERC721Base is
221221

222222
/// @dev mints specified token ids to specified address
223223
function _batchMint(IDMint memory mintRequest) internal {
224-
if (mintRequest.to != address(0)) {
224+
if (mintRequest.to == address(0)) {
225225
revert IImmutableERC721SendingToZerothAddress();
226226
}
227227
for (uint256 j = 0; j < mintRequest.tokenIds.length; j++) {

0 commit comments

Comments
 (0)