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
761ec4e3dc
commit
43a088ecb4
|
@ -179,7 +179,8 @@ abstract contract Euler is Helpers {
|
|||
);
|
||||
|
||||
if (isEth) {
|
||||
_amt = _amt == uint256(-1) ? borrowedDToken.balanceOf(address(this)) : _amt;
|
||||
_amt = _amt == uint256(-1) ? borrowedDToken.balanceOf(address(this)) : _amt;
|
||||
if (isEth) {
|
||||
convertEthToWeth(isEth, TokenInterface(_token), _amt);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user