From 371710022d5e3bb172d2eb87bfd6f4837e63f2a5 Mon Sep 17 00:00:00 2001 From: Shriya Tyagi <47134275+shriyatyagii@users.noreply.github.com> Date: Thu, 7 Jul 2022 17:00:32 +0400 Subject: [PATCH] Update contracts/mainnet/connectors/euler/main.sol Co-authored-by: 0xPradyuman <63545809+pradyuman-verma@users.noreply.github.com> --- contracts/mainnet/connectors/euler/main.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/mainnet/connectors/euler/main.sol b/contracts/mainnet/connectors/euler/main.sol index 9dd21f46..67a23b38 100644 --- a/contracts/mainnet/connectors/euler/main.sol +++ b/contracts/mainnet/connectors/euler/main.sol @@ -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);