Skip to content

Commit

Permalink
fix: Fix outdated comment in SP
Browse files Browse the repository at this point in the history
  • Loading branch information
bingen committed Sep 13, 2024
1 parent b3ad0ae commit 9fb336a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contracts/src/StabilityPool.sol
Original file line number Diff line number Diff line change
Expand Up @@ -381,8 +381,8 @@ contract StabilityPool is LiquityBase, IStabilityPool, IStabilityPoolEvents {

uint256 totalBoldDepositsCached = totalBoldDeposits; // cached to save an SLOAD

// When total deposits is very small, B is not updated. In this case, the BOLD issued can not be obtained by later
// depositors - it is missed out on, and remains in the balance of the SP.
// When total deposits is very small, B is not updated. In this case, the BOLD issued is hold
// until the total deposits reach 1 BOLD (remains in the balance of the SP).
if (totalBoldDepositsCached < DECIMAL_PRECISION) {
yieldGainsPending += _boldYield;
return;
Expand Down

0 comments on commit 9fb336a

Please sign in to comment.