mirror of
https://github.com/Instadapp/dsa-connectors.git
synced 2024-07-29 22:37:00 +00:00
Update contracts/mainnet/connectors/uniswap_v3_erc20/main.sol
Co-authored-by: Thrilok kumar <thrilok2000@gmail.com>
This commit is contained in:
parent
2476cc4390
commit
927e1e2f1c
|
@ -68,7 +68,7 @@ abstract contract AuthorityResolver is Events, Helpers {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (amount1 > 0) {
|
if (amount1 > 0) {
|
||||||
IERC20 _token1 = poolContract.token0();
|
IERC20 _token1 = poolContract.token1();
|
||||||
convertWethToEth(address(_token1) == wethAddr, TokenInterface(address(_token1)), _amt);
|
convertWethToEth(address(_token1) == wethAddr, TokenInterface(address(_token1)), _amt);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user