Remove set_finality_proof_request_builder (#3087)

* Remove set_finality_proof_request_builder

* Fix Babe

* Fix Grandpa

* Fix service doctests
This commit is contained in:
Pierre Krieger
2019-07-11 09:44:32 +02:00
committed by Bastian Köcher
parent 814b9056b3
commit efed2e3098
20 changed files with 80 additions and 87 deletions
+1 -3
View File
@@ -171,7 +171,6 @@ construct_service_factory! {
Box::new(block_import),
Some(Box::new(justification_import)),
None,
None,
client,
config.custom.inherent_data_providers.clone(),
).map_err(Into::into)
@@ -194,10 +193,9 @@ construct_service_factory! {
Box::new(block_import),
None,
Some(Box::new(finality_proof_import)),
Some(finality_proof_request_builder),
client,
config.custom.inherent_data_providers.clone(),
).map_err(Into::into)
).map(|q| (q, finality_proof_request_builder)).map_err(Into::into)
}},
SelectChain = LongestChain<FullBackend<Self>, Self::Block>
{ |config: &FactoryFullConfiguration<Self>, client: Arc<FullClient<Self>>| {