Fix some formatting grumbles (#501)

This commit is contained in:
Robert Habermeier
2018-08-06 13:42:39 +02:00
committed by Sergey Pepyakin
parent a19087eb89
commit 34b4cb8320
2 changed files with 3 additions and 3 deletions
+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;
}