diff --git a/packages/arb-token-bridge-ui/src/util/networks.ts b/packages/arb-token-bridge-ui/src/util/networks.ts index 2964ba0b2d..ff4ca58a60 100644 --- a/packages/arb-token-bridge-ui/src/util/networks.ts +++ b/packages/arb-token-bridge-ui/src/util/networks.ts @@ -582,7 +582,7 @@ export function getSupportedChainIds({ }) } -export async function isAlchemyChain(chainId: number) { +export function isAlchemyChain(chainId: number) { const chain = orbitChains[chainId] if (typeof chain === 'undefined') { diff --git a/packages/arb-token-bridge-ui/src/util/withdrawals/fetchWithdrawals.ts b/packages/arb-token-bridge-ui/src/util/withdrawals/fetchWithdrawals.ts index 3012ce0aa7..aba40e7207 100644 --- a/packages/arb-token-bridge-ui/src/util/withdrawals/fetchWithdrawals.ts +++ b/packages/arb-token-bridge-ui/src/util/withdrawals/fetchWithdrawals.ts @@ -119,7 +119,7 @@ export async function fetchWithdrawals({ const queries: Query[] = [] // alchemy as a raas has a global rate limit across their chains, so we have to fetch sequentially and wait in-between requests to work around this - const isAlchemy = await isAlchemyChain(l2ChainID) + const isAlchemy = isAlchemyChain(l2ChainID) const delayMs = isAlchemy ? 2_000 : 0 const allGateways = [