Pin merged Polkadot chain (#272)

This commit is contained in:
Maciej Hirsz
2020-07-21 17:39:38 +02:00
committed by GitHub
parent 5dc1846ec2
commit 4b29a2afa2
3 changed files with 6 additions and 4 deletions
+4 -2
View File
@@ -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 });