Merge pull request #318 from paritytech/mh-block-earth

Kill all nodes from "Earth" for now
This commit is contained in:
David
2021-03-26 10:40:21 +01:00
committed by GitHub
+6 -1
View File
@@ -115,7 +115,12 @@ impl NodeConnector {
match &*node.chain {
"Kusama CC3" => node.chain = "Kusama".into(),
"Polkadot CC1" => node.chain = "Polkadot".into(),
_ => (),
"Earth" => {
// Temp, there is too many of them
ctx.stop();
return;
},
_ => ()
}
self.aggregator.do_send(AddNode { node, conn_id, rec });