Skip to content

Commit

Permalink
Merge pull request #754 from bosonprotocol/audit_v2_3_0_obe_01_c
Browse files Browse the repository at this point in the history
Remediate [OBE-01C] Illegible Representation of Limitation
  • Loading branch information
levalleux-ludo committed Aug 17, 2023
2 parents aa249c2 + 9b96f43 commit 256d2fd
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 256d2fd

Please sign in to comment.