mirror of
https://github.com/Instadapp/dsa-connectors.git
synced 2024-07-29 22:37:00 +00:00
Update contracts/mainnet/connectors/euler/main.sol
Co-authored-by: 0xPradyuman <63545809+pradyuman-verma@users.noreply.github.com>
This commit is contained in:
parent
0dd2fb946d
commit
371710022d
|
@ -139,7 +139,7 @@ abstract contract Euler is Helpers {
|
||||||
IEulerDToken borrowedDToken = IEulerDToken(
|
IEulerDToken borrowedDToken = IEulerDToken(
|
||||||
markets.underlyingToDToken(_token)
|
markets.underlyingToDToken(_token)
|
||||||
);
|
);
|
||||||
borrowedDToken.borrow(subAccount, amt);
|
borrowedDToken.borrow(subAccount, _amt);
|
||||||
|
|
||||||
convertWethToEth(isEth, TokenInterface(_token), _amt);
|
convertWethToEth(isEth, TokenInterface(_token), _amt);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user