grandpa: fix --no-grandpa flag breaking block production (#3350)

This commit is contained in:
André Silva
2019-08-09 00:53:54 +01:00
committed by GitHub
parent a1a8c9829e
commit 8f3a68db25
2 changed files with 9 additions and 1 deletions
+1 -1
View File
@@ -444,7 +444,7 @@ fn global_communication<Block: BlockT<Hash=H256>, B, E, N, RA>(
/// Register the finality tracker inherent data provider (which is used by
/// GRANDPA), if not registered already.
fn register_finality_tracker_inherent_data_provider<B, E, Block: BlockT<Hash=H256>, RA>(
pub fn register_finality_tracker_inherent_data_provider<B, E, Block: BlockT<Hash=H256>, RA>(
client: Arc<Client<B, E, Block, RA>>,
inherent_data_providers: &InherentDataProviders,
) -> Result<(), consensus_common::Error> where