diff --git a/react/src/swapper/helpers.ts b/react/src/swapper/helpers.ts index f83a461..8fc0355 100644 --- a/react/src/swapper/helpers.ts +++ b/react/src/swapper/helpers.ts @@ -31,7 +31,7 @@ export async function getEvmGasParametersForContract( const chainId = await getChainIdFromContract(contract); console.info(`getEvmGasParametersForContract... chainId: ${chainId}`); - if (EVM_EIP1559_CHAIN_IDS.indexOf(chainId)) { + if (EVM_EIP1559_CHAIN_IDS.indexOf(chainId) >= 0) { console.info( `eip1559? chainId: ${chainId}, eip1559 chains... ${JSON.stringify( EVM_EIP1559_CHAIN_IDS