Skip to content

Commit

Permalink
Remove redundant zero check
Browse files Browse the repository at this point in the history
  • Loading branch information
k1rill-fedoseev committed Aug 30, 2023
1 parent 0d46f96 commit 5859bbe
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/zkbob/utils/ZkBobAccounting.sol
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,6 @@ contract ZkBobAccounting is IZkBobAccounting, Ownable {
require(_dailyUserDepositCap >= _depositCap, "ZkBobAccounting: daily user deposit cap too low");
require(_dailyDepositCap >= _dailyUserDepositCap, "ZkBobAccounting: daily deposit cap too low");
require(_tvlCap >= _dailyDepositCap, "ZkBobAccounting: tvl cap too low");
require(_dailyWithdrawalCap > 0, "ZkBobAccounting: zero daily withdrawal cap");
require(
_dailyUserDirectDepositCap >= _directDepositCap, "ZkBobAccounting: daily user direct deposit cap too low"
);
Expand Down

0 comments on commit 5859bbe

Please sign in to comment.