From fa82875a5a44e0d694cb94f49a0253b8cdfb6f66 Mon Sep 17 00:00:00 2001 From: Ioannis Tourkogiorgis Date: Mon, 7 Oct 2024 17:04:40 +0300 Subject: [PATCH] fix: rpc endpoint validation --- src/common/queryableChains.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/queryableChains.ts b/src/common/queryableChains.ts index b512cff..ea7efe2 100644 --- a/src/common/queryableChains.ts +++ b/src/common/queryableChains.ts @@ -7,7 +7,7 @@ import appSettings from './appSettings'; const queryableChains: SupportedChain[] = []; Object.keys(SupportedChain).forEach((chain) => { - if (appSettings.rpcConfigs[chain as SupportedChain]) { + if (appSettings.rpcConfigs[chain as SupportedChain]?.url) { queryableChains.push(chain as SupportedChain); } });