diff --git a/contracts/mainnet/connectors/euler/main.sol b/contracts/mainnet/connectors/euler/main.sol index 67a23b38..d217a421 100644 --- a/contracts/mainnet/connectors/euler/main.sol +++ b/contracts/mainnet/connectors/euler/main.sol @@ -185,7 +185,7 @@ abstract contract Euler is Helpers { : _amt; TokenInterface(_token).approve(EULER_MAINNET, _amt); - borrowedDToken.repay(subAccount, amt); + borrowedDToken.repay(subAccount, _amt); setUint(setId, _amt);