diff --git a/contracts/optimism/connectors/connext/main.sol b/contracts/optimism/connectors/connext/main.sol index d289005a..fdf1bb97 100644 --- a/contracts/optimism/connectors/connext/main.sol +++ b/contracts/optimism/connectors/connext/main.sol @@ -30,7 +30,7 @@ abstract contract ConnextResolver is Helpers { { uint256 _amount = getUint(getId, params.amount); TokenInterface tokenContract = TokenInterface(params.asset); - bool isNative = params.asset == wethAddr; + bool isNative = params.asset == ethAddr; if (isNative) { _amount = _amount == uint256(-1) ? sub(address(this).balance, params.relayerFee) : _amount;