From c477c8abd6e24aed404f15cf52c3e96bd129384f Mon Sep 17 00:00:00 2001 From: t11s Date: Tue, 5 Oct 2021 20:26:46 -0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20Comment=20cleanup?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Vault.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Vault.sol b/src/Vault.sol index c0c9c32..b9f68e6 100644 --- a/src/Vault.sol +++ b/src/Vault.sol @@ -371,7 +371,7 @@ contract Vault is ERC20, Auth { uint256 balanceThisHarvest = strategy.balanceOfUnderlying(address(this)); // Increase/decrease totalStrategyHoldings based on the computed profit/loss. - // We cannot wrap the balance delta computation in parenthesis as it would underflow if the strategy registers a loss. + // We cannot wrap the subtraction in parenthesis as it would underflow if the strategy had a loss. totalStrategyHoldings = totalStrategyHoldings + balanceThisHarvest - balanceLastHarvest; // Update our stored balance for the strategy.