Skip to content

Commit

Permalink
fix: rpc endpoint validation
Browse files Browse the repository at this point in the history
  • Loading branch information
jtourkos committed Oct 7, 2024
1 parent 05b3824 commit fa82875
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/queryableChains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
});
Expand Down

0 comments on commit fa82875

Please sign in to comment.