From 2c5c1b4dabdb2318a5a5263fcb5713908a55141c Mon Sep 17 00:00:00 2001 From: thedavidmeister Date: Wed, 8 Nov 2023 14:58:51 +0400 Subject: [PATCH] slither false positive --- src/concrete/OrderBook.sol | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/concrete/OrderBook.sol b/src/concrete/OrderBook.sol index a8f170dcf..ef341c99a 100644 --- a/src/concrete/OrderBook.sol +++ b/src/concrete/OrderBook.sol @@ -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