From b504484adbbcd36f93529813ddbca76c831add00 Mon Sep 17 00:00:00 2001 From: Gonzalo D'elia Date: Thu, 2 Jan 2025 15:38:49 -0300 Subject: [PATCH] Fix variable name in utils/chain.ts --- webapp/utils/chain.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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: {