From 605bcc9dcf391253823e546ae5489ac16680ec22 Mon Sep 17 00:00:00 2001 From: Thomas Bouder Date: Tue, 7 Sep 2021 13:34:01 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fixing=20issue=20with=20wethAddr?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- contracts/mainnet/connectors/yearn_v2/main.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/mainnet/connectors/yearn_v2/main.sol b/contracts/mainnet/connectors/yearn_v2/main.sol index e1d8343d..74d3d567 100644 --- a/contracts/mainnet/connectors/yearn_v2/main.sol +++ b/contracts/mainnet/connectors/yearn_v2/main.sol @@ -30,7 +30,7 @@ abstract contract YearnResolver is Events, Basic { YearnV2Interface yearn = YearnV2Interface(vault); address want = yearn.token(); - bool isEth = want == ethAddr; + bool isEth = want == wethAddr; TokenInterface tokenContract = TokenInterface(want); if (isEth) {