Update contracts/mainnet/connectors/uniswap_v3_erc20/main.sol

Co-authored-by: Thrilok kumar <thrilok2000@gmail.com>
This commit is contained in:
Samyak Jain 2021-06-08 00:21:41 +05:30 committed by GitHub
parent 2476cc4390
commit 927e1e2f1c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -68,7 +68,7 @@ abstract contract AuthorityResolver is Events, Helpers {
}
if (amount1 > 0) {
IERC20 _token1 = poolContract.token0();
IERC20 _token1 = poolContract.token1();
convertWethToEth(address(_token1) == wethAddr, TokenInterface(address(_token1)), _amt);
}