From d1329a3c31e61b3471a414751755cb6234099a64 Mon Sep 17 00:00:00 2001 From: Haythem Sellami <17862704+haythemsellami@users.noreply.github.com> Date: Fri, 14 Jun 2024 08:46:58 +0300 Subject: [PATCH] lint --- src/FourSixTwoSixAgg.sol | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/FourSixTwoSixAgg.sol b/src/FourSixTwoSixAgg.sol index 12e09ab8..074c0f15 100644 --- a/src/FourSixTwoSixAgg.sol +++ b/src/FourSixTwoSixAgg.sol @@ -615,7 +615,7 @@ contract FourSixTwoSixAgg is IFourSixTwoSixAgg, BalanceForwarder, EVCUtil, ERC46 underlyingBalance -= accruedPerformanceFee; yield -= accruedPerformanceFee; } - + strategies[_strategy].allocated = uint120(underlyingBalance); totalAllocated += yield; } else { @@ -646,9 +646,9 @@ contract FourSixTwoSixAgg is IFourSixTwoSixAgg, BalanceForwarder, EVCUtil, ERC46 // `feeAssets` will be rounded down to 0 if `yield * performanceFee < 1e18`. uint256 feeAssets = Math.mulDiv(_yield, cachedPerformanceFee, 1e18, Math.Rounding.Down); - if(feeAssets > 0) { + if (feeAssets > 0) { IERC4626(_strategy).withdraw(feeAssets, cachedFeeRecipient, address(this)); - } + } emit AccruePerformanceFee(cachedFeeRecipient, _yield, feeAssets);