mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 08:07:58 +00:00
grandpa: fix --no-grandpa flag breaking block production (#3350)
This commit is contained in:
@@ -170,6 +170,14 @@ construct_service_factory! {
|
||||
}
|
||||
}
|
||||
|
||||
// regardless of whether grandpa is started or not, when
|
||||
// authoring blocks we expect inherent data regarding what our
|
||||
// last finalized block is, to be available.
|
||||
grandpa::register_finality_tracker_inherent_data_provider(
|
||||
service.client(),
|
||||
&service.config().custom.inherent_data_providers,
|
||||
)?;
|
||||
|
||||
Ok(service)
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user