Skip to content

Commit

Permalink
Remove comment
Browse files Browse the repository at this point in the history
  • Loading branch information
hieronx committed Sep 24, 2024
1 parent 50848c2 commit 7c79c27
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/operators/InterestDistributor.sol
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ contract InterestDistributor is IInterestDistributor {
{
if (outstandingShares == 0 || currentPrice <= prevPrice) return 0;

// If there was a principal redemption, the current balance is used since more than that cannot be redeemed.
return MathLib.min(
uint256(outstandingShares).mulDiv(currentPrice - prevPrice, currentPrice, MathLib.Rounding.Down),
currentShares
Expand Down

0 comments on commit 7c79c27

Please sign in to comment.