Skip to content

Commit

Permalink
Fix variable name in utils/chain.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
gndelia committed Jan 2, 2025
1 parent 911dc72 commit b504484
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions webapp/utils/chain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down

0 comments on commit b504484

Please sign in to comment.