Update contracts/mainnet/connectors/euler/main.sol

Co-authored-by: 0xPradyuman <63545809+pradyuman-verma@users.noreply.github.com>
This commit is contained in:
Shriya Tyagi 2022-07-07 17:00:32 +04:00 committed by GitHub
parent 0dd2fb946d
commit 371710022d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -139,7 +139,7 @@ abstract contract Euler is Helpers {
IEulerDToken borrowedDToken = IEulerDToken(
markets.underlyingToDToken(_token)
);
borrowedDToken.borrow(subAccount, amt);
borrowedDToken.borrow(subAccount, _amt);
convertWethToEth(isEth, TokenInterface(_token), _amt);