Skip to content

Commit 528e5b7

Browse files
committed
Only use the first (main) RPC
Other ones are often very flimsy.
1 parent 9f09745 commit 528e5b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/getters/getClientConfig.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export default function getClientConfig(
2626
ethereumNetwork: {
2727
chainId,
2828
},
29-
rpcs: chainConfig.rpcEndpoints,
29+
rpcs: chainConfig.rpcEndpoints.slice(0, 1),
3030
streamRegistryChainAddress: getContractAddress('streamRegistry', chainId),
3131
streamStorageRegistryChainAddress: getContractAddress('streamStorage', chainId),
3232
theGraphUrl: getGraphUrl(chainId),

0 commit comments

Comments
 (0)