From 1d3e65efb912c934350fc2b6c325d84e5de2efde Mon Sep 17 00:00:00 2001 From: Shriya Tyagi <47134275+shriyatyagii@users.noreply.github.com> Date: Sat, 15 Oct 2022 05:26:13 +0400 Subject: [PATCH] Update contracts/mainnet/connectors/morpho-compound/main.sol Co-authored-by: Romain Milon --- contracts/mainnet/connectors/morpho-compound/main.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/mainnet/connectors/morpho-compound/main.sol b/contracts/mainnet/connectors/morpho-compound/main.sol index 276b9814..92f83b60 100644 --- a/contracts/mainnet/connectors/morpho-compound/main.sol +++ b/contracts/mainnet/connectors/morpho-compound/main.sol @@ -237,7 +237,7 @@ abstract contract MorphoCompound is Helpers, Events { morphoCompound.borrow(_poolTokenAddress, _amt, _maxGasForMatching); - if (_isETH) convertWethToEth(_isETH, TokenInterface(wethAddr), _amt); + convertWethToEth(_isETH, TokenInterface(wethAddr), _amt); setUint(_setId, _amt);