diff --git a/webapp/utils/chain.ts b/webapp/utils/chain.ts index fc81d55a..0d1bd31b 100644 --- a/webapp/utils/chain.ts +++ b/webapp/utils/chain.ts @@ -17,8 +17,8 @@ export const isL2NetworkId = (chainId: number) => export const isL2Network = (chain: Chain) => isL2NetworkId(chain.id) export const overrideRpcUrl = function (chain: Chain, rpcUrl?: string) { - const isValidCustomSepoliaRpc = !!rpcUrl && rpcUrl.startsWith('https') - if (isValidCustomSepoliaRpc) { + const isValidCustomRpc = !!rpcUrl && rpcUrl.startsWith('https') + if (isValidCustomRpc) { return defineChain({ ...chain, rpcUrls: {