Kill all nodes from "Earth" for now

This commit is contained in:
Maciej Hirsz
2021-03-26 10:30:10 +01:00
parent 53ec4ba07d
commit 3f9fa3b7a0
+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 });