mirror of
https://github.com/Instadapp/dsa-connectors.git
synced 2024-07-29 22:37:00 +00:00
removed if condition for _isETH
This commit is contained in:
parent
f6db02d83a
commit
32754bea19
|
@ -364,7 +364,7 @@ abstract contract MorphoCompound is Helpers, Events {
|
|||
_amt = _amtDSA < _amtDebt ? _amtDSA : _amtDebt;
|
||||
}
|
||||
|
||||
if (_isETH) convertEthToWeth(_isETH, _tokenContract, _amt);
|
||||
convertEthToWeth(_isETH, _tokenContract, _amt);
|
||||
|
||||
approve(_tokenContract, address(MORPHO_COMPOUND), _amt);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user