allow asynchronous collation (#290)

* allow asynchronous collation

* remove unnecessary leading colons

Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com>

* remove unneeded bound

* Fixes compilation
This commit is contained in:
Robert Habermeier
2019-06-17 08:35:01 +02:00
committed by Bastian Köcher
parent cab12b60c1
commit bc59254f41
2 changed files with 45 additions and 31 deletions
@@ -45,6 +45,8 @@ struct AdderContext {
/// The parachain context.
impl ParachainContext for AdderContext {
type ProduceCandidate = Result<(BlockData, HeadData, Extrinsic), InvalidHead>;
fn produce_candidate<I: IntoIterator<Item=(ParaId, Message)>>(
&self,
last_head: HeadData,