Update to Substrate master (#633)

This commit is contained in:
Bastian Köcher
2019-11-29 14:54:37 +01:00
committed by Gavin Wood
parent 4ec635eea8
commit 33eb0b7ba6
3 changed files with 124 additions and 121 deletions
+3
View File
@@ -272,6 +272,8 @@ pub fn new_full(config: Configuration<CustomConfiguration, GenesisConfig>)
let client = service.client();
let select_chain = service.select_chain().ok_or(ServiceError::SelectChainRequired)?;
let can_author_with =
consensus_common::CanAuthorWithNativeVersion::new(client.executor().clone());
let babe_config = babe::BabeParams {
keystore: service.keystore(),
@@ -283,6 +285,7 @@ pub fn new_full(config: Configuration<CustomConfiguration, GenesisConfig>)
inherent_data_providers: inherent_data_providers.clone(),
force_authoring: force_authoring,
babe_link,
can_author_with,
};
let babe = babe::start_babe(babe_config)?;