Give names to channels (#5626)

* Give names to channels

* Fix

* A couple more changes

* More minor tweaks

* Fix test
This commit is contained in:
Pierre Krieger
2020-04-14 14:49:41 +02:00
committed by GitHub
parent 5afa74254e
commit 1e1b0e2767
5 changed files with 34 additions and 24 deletions
+1 -1
View File
@@ -176,7 +176,7 @@ macro_rules! new_full {
service.spawn_essential_task("babe-proposer", babe);
let network = service.network();
let dht_event_stream = network.event_stream().filter_map(|e| async move { match e {
let dht_event_stream = network.event_stream("authority-discovery").filter_map(|e| async move { match e {
Event::Dht(e) => Some(e),
_ => None,
}}).boxed();