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 authored and GitHub committed 2020-04-14 16:00:25 +02:00
1 parent 70a30a9783
commit 17c2882ae7
3 files changed
+127 -126

No files matched your search

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