Skip to content

Commit

Permalink
Fix slither error
Browse files Browse the repository at this point in the history
  • Loading branch information
r-czajkowski committed Dec 29, 2023
1 parent 53ca7fc commit 4dcefe9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/contracts/Acre.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 4dcefe9

Please sign in to comment.