Companion PR to channel names (#995)

* Companion PR to channel names

* Err... fix missing event stream name

* Update Substrate
This commit is contained in:
Pierre Krieger
2020-04-14 16:00:25 +02:00
committed by GitHub
parent 70a30a9783
commit 17c2882ae7
3 changed files with 127 additions and 126 deletions
+1 -1
View File
@@ -225,7 +225,7 @@ pub fn start<C, Api, SP>(
{
const SERVICE_TO_WORKER_BUF: usize = 256;
let mut event_stream = service.event_stream();
let mut event_stream = service.event_stream("polkadot-network");
service.register_notifications_protocol(POLKADOT_ENGINE_ID, POLKADOT_PROTOCOL_NAME);
let (mut worker_sender, worker_receiver) = mpsc::channel(SERVICE_TO_WORKER_BUF);