From 9fb336a33292b8f28f24bf227f1b61f1d74c6c3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=9Fingen?= Date: Fri, 13 Sep 2024 10:37:05 +0100 Subject: [PATCH] fix: Fix outdated comment in SP --- contracts/src/StabilityPool.sol | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contracts/src/StabilityPool.sol b/contracts/src/StabilityPool.sol index 69a8928e..ce759aca 100644 --- a/contracts/src/StabilityPool.sol +++ b/contracts/src/StabilityPool.sol @@ -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;