Minor changes

This commit is contained in:
Thrilok Kumar 2020-05-31 03:38:43 +05:30
parent 42e38682ca
commit 9e43874373

View File

@ -111,7 +111,7 @@ contract BasicResolver is AaveHelpers {
tokenContract.approve(getAaveCoreAddress(), _amt);
}
aave.deposit.value(ethAmt)(token, _amt, getReferralCode()); // TODO - need to set referralCode;
aave.deposit.value(ethAmt)(token, _amt, getReferralCode());
if (!getIsColl(aave, token)) aave.setUserUseReserveAsCollateral(token, true);