Skip to content

Commit

Permalink
fix: remove unused check
Browse files Browse the repository at this point in the history
  • Loading branch information
0xmikko committed Mar 11, 2023
1 parent 091f614 commit 5a8d06e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions contracts/pool/Pool4626.sol
Original file line number Diff line number Diff line change
Expand Up @@ -584,10 +584,6 @@ contract Pool4626 is ERC4626, IPool4626, ACLNonReentrantTrait {
}

function _updateQuotaRevenue(uint128 _newQuotaRevenue) internal {
if (lastQuotaRevenueUpdate == 0) {
lastQuotaRevenueUpdate = uint40(block.timestamp);
}

_expectedLiquidityLU += _calcOutstandingQuotaRevenue();

lastQuotaRevenueUpdate = uint40(block.timestamp);
Expand Down

0 comments on commit 5a8d06e

Please sign in to comment.