mirror of
https://github.com/pezkuwichain/pezkuwi-telemetry.git
synced 2026-05-08 20:28:03 +00:00
Pin merged Polkadot chain (#272)
This commit is contained in:
Generated
+1
-1
@@ -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)",
|
||||
|
||||
@@ -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 });
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user