Skip to content

Commit

Permalink
slither false positive
Browse files Browse the repository at this point in the history
  • Loading branch information
thedavidmeister committed Nov 8, 2023
1 parent 021f38f commit 2c5c1b4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/concrete/OrderBook.sol
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,9 @@ contract OrderBook is IOrderBookV3, ReentrancyGuard, Multicall, OrderBookV3Flash
}

/// @inheritdoc IOrderBookV3
// Most of the cyclomatic complexity here is due to the error handling within
// the loop. The actual logic is fairly linear.
//slither-disable-next-line cyclomatic-complexity
function takeOrders(TakeOrdersConfigV2 calldata config)
external
nonReentrant
Expand Down

0 comments on commit 2c5c1b4

Please sign in to comment.