Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
thedavidmeister committed Dec 28, 2024
1 parent dd826af commit 565f3b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/concrete/ob/OrderBook.sol
Original file line number Diff line number Diff line change
Expand Up @@ -786,8 +786,8 @@ contract OrderBook is IOrderBookV4, IMetaV1_2, ReentrancyGuard, Multicall, Order
new uint256[](0)
);

// This is a much error message and overall more efficient than
// solidity generic index out of bounds errors.
// This is a much clearer error message and overall is more efficient
// than solidity generic index out of bounds errors.
if (calculateOrderStack.length < CALCULATE_ORDER_MIN_OUTPUTS) {
revert UnsupportedCalculateOutputs(calculateOrderStack.length);
}
Expand Down

0 comments on commit 565f3b9

Please sign in to comment.