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
@@ -106,7 +106,7 @@ fn build_test_full_node(config: config::NetworkConfiguration)
.unwrap();
let service = worker.service().clone();
let event_stream = service.event_stream();
let event_stream = service.event_stream("test");
async_std::task::spawn(async move {
futures::pin_mut!(worker);