update to latest substrate - protocol API update (#130)

* update to latest substrate - protocol API update

* nits

* remove the wait on a future

* use std mpsc for oneshot
This commit is contained in:
Gregory Terzian
2019-02-10 00:52:57 +08:00
committed by Gav Wood
parent 9fb22ce28d
commit cdb2faf155
5 changed files with 358 additions and 289 deletions
+1 -1
View File
@@ -307,7 +307,7 @@ impl<P, E> Worker for CollationNode<P, E> where
parachain_context,
key,
).map(move |collation| {
network.with_spec(|spec, ctx| spec.add_local_collation(
network.with_spec(move |spec, ctx| spec.add_local_collation(
ctx,
relay_parent,
targets,