mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-10-23 04:06:20 +00:00
grandpa: fix --no-grandpa flag breaking block production (#3350)
This commit is contained in:
1 parent
a1a8c9829e
commit
8f3a68db25
2 files changed
+9
-1
No files matched your search
@@ -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