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

This commit is contained in:
Bastian Köcher
2020-08-06 20:37:36 +02:00
committed by GitHub
parent dbde3c4630
commit dd7c741b53
2 changed files with 11 additions and 2 deletions
+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));