Fix some formatting grumbles (#501)

This commit is contained in:
Robert Habermeier authored and Sergey Pepyakin committed 2018-08-06 14:42:39 +03:00
1 parent a19087eb89
commit 34b4cb8320
2 files changed
+3 -3

No files matched your search

+2 -1
View File
@@ -160,7 +160,8 @@ impl Service {
) -> Service
where
A: LocalPolkadotApi + Send + Sync + 'static,
C: BlockchainEvents<Block> + ChainHead<Block> + BlockBody<Block> + bft::BlockImport<Block> + bft::Authorities<Block> + Send + Sync + 'static,
C: BlockchainEvents<Block> + ChainHead<Block> + BlockBody<Block>,
C: bft::BlockImport<Block> + bft::Authorities<Block> + Send + Sync + 'static,
N: Network + Collators + Send + 'static,
N::TableRouter: Send + 'static,
<N::Collation as IntoFuture>::Future: Send + 'static,
@@ -268,8 +268,7 @@ impl<D, E, C, Err> Future for PrimedStatementProducer<D, E, C>
debug!(target: "consensus", "Claiming candidate {} available.", hash);
statements.extrinsic = Some(extrinsic);
statements.availability =
Some(GenericStatement::Available(hash));
statements.availability = Some(GenericStatement::Available(hash));
work.ensure_available = false;
}