From 57c2b0261f0cb2dde326cb0a86ad9b03f4030e0d Mon Sep 17 00:00:00 2001 From: FP Date: Thu, 30 May 2024 13:48:26 -0700 Subject: [PATCH] fix: bug --- contracts/debtAllocators/DebtOptimizerApplicator.sol | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/contracts/debtAllocators/DebtOptimizerApplicator.sol b/contracts/debtAllocators/DebtOptimizerApplicator.sol index 0e3efbc..0b19d59 100644 --- a/contracts/debtAllocators/DebtOptimizerApplicator.sol +++ b/contracts/debtAllocators/DebtOptimizerApplicator.sol @@ -87,13 +87,13 @@ contract DebtOptimizerApplicator { if (_strategyDebtRatios[i].maxRatio == 0) { _debtAllocator.setStrategyDebtRatio( _strategyDebtRatios[i].strategy, - _strategyDebtRatios[i].targetRatio, - _strategyDebtRatios[i].maxRatio + _strategyDebtRatios[i].targetRatio ); } else { _debtAllocator.setStrategyDebtRatio( _strategyDebtRatios[i].strategy, - _strategyDebtRatios[i].targetRatio + _strategyDebtRatios[i].targetRatio, + _strategyDebtRatios[i].maxRatio ); } }