Skip to content

Commit

Permalink
Fix #737
Browse files Browse the repository at this point in the history
  • Loading branch information
zajck committed Aug 4, 2023
1 parent c1952c5 commit ddb7493
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/protocol/bases/OfferBase.sol
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ contract OfferBase is ProtocolBase, IBosonOfferEvents {
require(offer.quantityAvailable >= _length, INVALID_RANGE_LENGTH);

// Prevent reservation of too large range, since it affects exchangeId
require(_length < (1 << 64), INVALID_RANGE_LENGTH);
require(_length <= type(uint64).max, INVALID_RANGE_LENGTH);

// Get starting token id
ProtocolLib.ProtocolCounters storage pc = protocolCounters();
Expand Down

0 comments on commit ddb7493

Please sign in to comment.