From 9a4ccde6a2bcd9033d0f49c211219a7ce08d32ac Mon Sep 17 00:00:00 2001 From: The3D Date: Fri, 21 Aug 2020 19:00:08 +0200 Subject: [PATCH] Removed obsolete code --- contracts/lendingpool/LendingPool.sol | 2 -- 1 file changed, 2 deletions(-) diff --git a/contracts/lendingpool/LendingPool.sol b/contracts/lendingpool/LendingPool.sol index 34dc769b..d51f2e2a 100644 --- a/contracts/lendingpool/LendingPool.sol +++ b/contracts/lendingpool/LendingPool.sol @@ -239,8 +239,6 @@ contract LendingPool is ReentrancyGuard, VersionedInitializable, ILendingPool { ) external override nonReentrant { ReserveLogic.ReserveData storage reserve = _reserves[asset]; - (uint256 stableDebt, uint256 variableDebt) = Helpers.getUserCurrentDebt(_onBehalfOf, reserve); - ReserveLogic.InterestRateMode rateMode = ReserveLogic.InterestRateMode(_rateMode); //default to max amount