From 4dcefe9e30058a4002340fe60c42f61c51ed5b23 Mon Sep 17 00:00:00 2001 From: Rafal Czajkowski Date: Fri, 29 Dec 2023 09:22:49 +0100 Subject: [PATCH] Fix slither error --- core/contracts/Acre.sol | 1 + 1 file changed, 1 insertion(+) diff --git a/core/contracts/Acre.sol b/core/contracts/Acre.sol index 2d968e4a3..dbfcdc199 100644 --- a/core/contracts/Acre.sol +++ b/core/contracts/Acre.sol @@ -147,6 +147,7 @@ contract Acre is ERC4626, Ownable { uint256 _maxDeposit = maxDeposit(receiver); return + // slither-disable-next-line dangerous-strict-equalities _maxDeposit == type(uint256).max ? type(uint256).max : convertToShares(_maxDeposit);