Skip to content

Commit

Permalink
bad merge
Browse files Browse the repository at this point in the history
  • Loading branch information
0xddong committed Aug 7, 2024
1 parent bb9cee5 commit 606c4a3
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/Strategy.sol
Original file line number Diff line number Diff line change
Expand Up @@ -264,12 +264,6 @@ contract Strategy is BaseStrategy, Pausable, ReentrancyGuard {
revert TimeToMaturityAboveThreshold();
}

liquidBalance -= proceeds;

if (liquidBalance < liquidityThreshold) {
revert BalanceBelowLiquidityThreshold();
}

if ((liquidBalance - proceeds) < liquidityThreshold) {
revert BalanceBelowLiquidityThreshold();
}
Expand Down

0 comments on commit 606c4a3

Please sign in to comment.