Fix autosubscribe to subscribe to Polkadot instead of Kusama (#413)

This commit is contained in:
Maciej Hirsz authored and GitHub committed 2021-09-28 17:43:41 +02:00
1 parent ed6e292d25
commit 224b1faeba
1 file changed
+1 -1
+1 -1
View File
@@ -541,7 +541,7 @@ export class Connection {
let topChain: Maybe<ChainData> = null;
for (const chain of chains.values()) {
if (PINNED_CHAINS[chain.label] === 1) {
if (PINNED_CHAINS[chain.genesisHash] === 1) {
topChain = chain;
break;
}