mirror of
https://github.com/pezkuwichain/pezkuwi-telemetry.git
synced 2026-07-24 10:05:42 +00:00
Pin merged Polkadot chain (#272)
This commit is contained in:
Generated
+1
-1
@@ -1881,7 +1881,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "telemetry"
|
name = "telemetry"
|
||||||
version = "0.2.0"
|
version = "0.2.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"actix 0.8.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
"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)",
|
"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
|
// This will at least force all CC3 nodes to be aggregated with
|
||||||
// the rest.
|
// the rest.
|
||||||
let network_id = None; // network_id.map(Into::into);
|
let network_id = None; // network_id.map(Into::into);
|
||||||
if &*node.chain == "Kusama CC3" {
|
match &*node.chain {
|
||||||
node.chain = "Kusama".into();
|
"Kusama CC3" => node.chain = "Kusama".into(),
|
||||||
|
"Polkadot CC1" => node.chain = "Polkadot".into(),
|
||||||
|
_ => (),
|
||||||
}
|
}
|
||||||
|
|
||||||
self.aggregator.do_send(AddNode { rec, network_id, node });
|
self.aggregator.do_send(AddNode { rec, network_id, node });
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ import { Column } from './components/List';
|
|||||||
|
|
||||||
export const PINNED_CHAINS = {
|
export const PINNED_CHAINS = {
|
||||||
Kusama: 2,
|
Kusama: 2,
|
||||||
'Polkadot CC1': 1,
|
Polkadot: 1,
|
||||||
};
|
};
|
||||||
|
|
||||||
export function comparePinnedChains(a: string, b: string) {
|
export function comparePinnedChains(a: string, b: string) {
|
||||||
|
|||||||
Reference in New Issue
Block a user