Announce block after it is being enacted as new best block (#182)

This commit is contained in:
Bastian Köcher authored and GitHub committed 2020-08-06 20:37:36 +02:00
1 parent 3f3beea7f0
commit e8e8881a68
2 files changed
+11 -2

No files matched your search

+6 -1
View File
@@ -520,7 +520,12 @@ where
)));
let follow =
match cumulus_consensus::follow_polkadot(self.para_id, self.client, polkadot_client) {
match cumulus_consensus::follow_polkadot(
self.para_id,
self.client,
polkadot_client,
self.announce_block.clone(),
) {
Ok(follow) => follow,
Err(e) => {
return Err(error!("Could not start following polkadot: {:?}", e));