Fix indexOf check
This commit is contained in:
parent
416a5ac951
commit
59c3a8965c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue