From 15d556613898f086797486964898d0f929190242 Mon Sep 17 00:00:00 2001 From: wenzhenxiang <308260887@qq.com> Date: Thu, 8 Apr 2021 18:58:38 +0800 Subject: [PATCH] fix deploy new asset bug fix deploy new asset bug --- tasks/helpers/deploy-new-asset.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tasks/helpers/deploy-new-asset.ts b/tasks/helpers/deploy-new-asset.ts index 03d102c4..718b6372 100644 --- a/tasks/helpers/deploy-new-asset.ts +++ b/tasks/helpers/deploy-new-asset.ts @@ -82,12 +82,12 @@ WRONG RESERVE ASSET SETUP: const rates = await deployDefaultReserveInterestRateStrategy( [ addressProvider.address, - strategyParams.optimalUtilizationRate, - strategyParams.baseVariableBorrowRate, - strategyParams.variableRateSlope1, - strategyParams.variableRateSlope2, - strategyParams.stableRateSlope1, - strategyParams.stableRateSlope2, + strategyParams.strategy.optimalUtilizationRate, + strategyParams.strategy.baseVariableBorrowRate, + strategyParams.strategy.variableRateSlope1, + strategyParams.strategy.variableRateSlope2, + strategyParams.strategy.stableRateSlope1, + strategyParams.strategy.stableRateSlope2, ], verify );