mirror of
https://github.com/Instadapp/dsa-connectors.git
synced 2024-07-29 22:37:00 +00:00
remove require statement
This commit is contained in:
parent
3b2248a50c
commit
764faca85e
|
@ -103,7 +103,6 @@ abstract contract Helpers is DSMath, Basic {
|
|||
|
||||
uint256 isEth = address(_token0) == wethAddr ? 0 : 2;
|
||||
isEth = address(_token1) == wethAddr ? 1 : 2;
|
||||
require(isEth != 2, "no-ETH");
|
||||
convertEthToWeth(isEth == 0, _token0, _amount0);
|
||||
convertEthToWeth(isEth == 1, _token1, _amount1);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user