From 927e1e2f1ccd4918c22e8e5aef6b0fb2970aa57c Mon Sep 17 00:00:00 2001 From: Samyak Jain <34437877+KaymasJain@users.noreply.github.com> Date: Tue, 8 Jun 2021 00:21:41 +0530 Subject: [PATCH] Update contracts/mainnet/connectors/uniswap_v3_erc20/main.sol Co-authored-by: Thrilok kumar --- contracts/mainnet/connectors/uniswap_v3_erc20/main.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/mainnet/connectors/uniswap_v3_erc20/main.sol b/contracts/mainnet/connectors/uniswap_v3_erc20/main.sol index 71b9010d..3ee00d8e 100644 --- a/contracts/mainnet/connectors/uniswap_v3_erc20/main.sol +++ b/contracts/mainnet/connectors/uniswap_v3_erc20/main.sol @@ -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); }