Skip to content

Commit

Permalink
nit
Browse files Browse the repository at this point in the history
  • Loading branch information
arr00 committed Jul 26, 2024
1 parent 2387b18 commit 1c1234f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/NFTMint.sol
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ contract NFTMint is Ownable {

uint256 numNonZero = 0;
for (uint256 i = 0; i < editions.length; i++) {
if (amounts[i] > 0) {
if (amounts[i] != 0) {
if (numNonZero < i) {
ids[numNonZero] = ids[i];
amounts[numNonZero] = amounts[i];
Expand Down

0 comments on commit 1c1234f

Please sign in to comment.