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
ce50ce0024
commit
3df9257ea0
|
@ -537,8 +537,7 @@ abstract contract Euler is Helpers {
|
|||
payable
|
||||
returns (string memory _eventName, bytes memory _eventParam)
|
||||
{
|
||||
bool isEth = token == ethAddr;
|
||||
address _token = isEth ? wethAddr : token;
|
||||
address _token = token == ethAddr ? wethAddr : token;
|
||||
markets.exitMarket(subAccountId, _token);
|
||||
|
||||
_eventName = "LogExitMarket(uint256,address)";
|
||||
|
|
Loading…
Reference in New Issue
Block a user