mirror of
https://github.com/pezkuwichain/pezkuwi-telemetry.git
synced 2026-04-25 16:27:59 +00:00
Pin Polkadot CC1 ahead of Kusama (#265)
This commit is contained in:
@@ -5,7 +5,7 @@ import {
|
||||
Node,
|
||||
UpdateBound,
|
||||
ChainData,
|
||||
PINNED_CHAIN,
|
||||
PINNED_CHAINS,
|
||||
} from './state';
|
||||
import { PersistentSet } from './persist';
|
||||
import { getHashData, setHashData } from './utils';
|
||||
@@ -518,7 +518,7 @@ export class Connection {
|
||||
let topChain: Maybe<ChainData> = null;
|
||||
|
||||
for (const chain of chains.values()) {
|
||||
if (chain.label === PINNED_CHAIN) {
|
||||
if (PINNED_CHAINS[chain.label] === 1) {
|
||||
topChain = chain;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user