Skip to content

Commit

Permalink
inc()
Browse files Browse the repository at this point in the history
  • Loading branch information
doublesharp committed Jan 20, 2024
1 parent fed5613 commit f8b92e1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion contracts/SamWitchOrderBook.sol
Original file line number Diff line number Diff line change
Expand Up @@ -797,7 +797,8 @@ contract SamWitchOrderBook is ISamWitchOrderBook, ERC1155Holder, UUPSUpgradeable
tokenIdsClaimable[orderId][_tokenId] += quantityNFTClaimable;

_orderIdsPool[numberOfOrders] = orderId;
_quantitiesPool[numberOfOrders++] = quantityNFTClaimable;
_quantitiesPool[numberOfOrders] = quantityNFTClaimable;
numberOfOrders = numberOfOrders.inc();

if (numberOfOrders >= MAX_ORDERS_HIT) {
revert TooManyOrdersHit();
Expand Down

0 comments on commit f8b92e1

Please sign in to comment.