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 authored and GitHub committed 2020-04-14 14:49:41 +02:00
1 parent 5afa74254e
commit 1e1b0e2767
5 files changed
+34 -24

No files matched your search

+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();