Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions contracts/token/erc721/abstract/ImmutableERC721Base.sol
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ abstract contract ImmutableERC721Base is OperatorAllowlistEnforced, MintingAcces
}

// slither-disable-next-line costly-loop
_totalSupply = _totalSupply + mintRequest.tokenIds.length;
_totalSupply += mintRequest.tokenIds.length;
for (uint256 j = 0; j < mintRequest.tokenIds.length; j++) {
_mint(mintRequest.to, mintRequest.tokenIds[j]);
}
Expand All @@ -260,7 +260,7 @@ abstract contract ImmutableERC721Base is OperatorAllowlistEnforced, MintingAcces
_safeMint(mintRequest.to, mintRequest.tokenIds[j]);
}
// slither-disable-next-line costly-loop
_totalSupply = _totalSupply + mintRequest.tokenIds.length;
_totalSupply += mintRequest.tokenIds.length;
}

/**
Expand Down