Removed obsolete code

This commit is contained in:
The3D 2020-08-21 19:00:08 +02:00
parent 955d2be1da
commit 9a4ccde6a2

View File

@ -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