aura: don't report skipped primaries when empty steps are enabled (#9435)
This commit is contained in:
parent
5752869824
commit
4e8e5bbb86
@ -988,8 +988,10 @@ impl Engine<EthereumMachine> for AuthorityRound {
|
|||||||
self.clear_empty_steps(parent_step);
|
self.clear_empty_steps(parent_step);
|
||||||
|
|
||||||
// report any skipped primaries between the parent block and
|
// report any skipped primaries between the parent block and
|
||||||
// the block we're sealing
|
// the block we're sealing, unless we have empty steps enabled
|
||||||
|
if header.number() < self.empty_steps_transition {
|
||||||
self.report_skipped(header, step, u64::from(parent_step) as usize, &*validators, set_number);
|
self.report_skipped(header, step, u64::from(parent_step) as usize, &*validators, set_number);
|
||||||
|
}
|
||||||
|
|
||||||
let mut fields = vec![
|
let mut fields = vec![
|
||||||
encode(&step).into_vec(),
|
encode(&step).into_vec(),
|
||||||
|
Loading…
Reference in New Issue
Block a user