diff --git a/backend/Cargo.lock b/backend/Cargo.lock index 81d4406..b9754d0 100644 --- a/backend/Cargo.lock +++ b/backend/Cargo.lock @@ -1881,7 +1881,7 @@ dependencies = [ [[package]] name = "telemetry" -version = "0.2.0" +version = "0.2.1" dependencies = [ "actix 0.8.3 (registry+https://github.com/rust-lang/crates.io-index)", "actix-http 0.2.10 (git+https://github.com/maciejhirsz/actix-web)", diff --git a/backend/src/node/connector.rs b/backend/src/node/connector.rs index d846aa1..bdca720 100644 --- a/backend/src/node/connector.rs +++ b/backend/src/node/connector.rs @@ -89,8 +89,10 @@ impl NodeConnector { // This will at least force all CC3 nodes to be aggregated with // the rest. let network_id = None; // network_id.map(Into::into); - if &*node.chain == "Kusama CC3" { - node.chain = "Kusama".into(); + match &*node.chain { + "Kusama CC3" => node.chain = "Kusama".into(), + "Polkadot CC1" => node.chain = "Polkadot".into(), + _ => (), } self.aggregator.do_send(AddNode { rec, network_id, node }); diff --git a/frontend/src/state.ts b/frontend/src/state.ts index a5153db..18751da 100644 --- a/frontend/src/state.ts +++ b/frontend/src/state.ts @@ -3,7 +3,7 @@ import { Column } from './components/List'; export const PINNED_CHAINS = { Kusama: 2, - 'Polkadot CC1': 1, + Polkadot: 1, }; export function comparePinnedChains(a: string, b: string) {