more replay_stage grooming (#5163)

This commit is contained in:
Rob Walker
2019-07-18 14:54:27 -07:00
committed by GitHub
parent d47caf2af8
commit afa05acb32
5 changed files with 56 additions and 62 deletions

View File

@@ -101,6 +101,7 @@ impl PohRecorder {
self.leader_schedule_cache
.slot_leader_at(self.tick_height / self.ticks_per_slot + slots, None)
}
pub fn next_slot_leader(&self) -> Option<Pubkey> {
self.leader_after_slots(1)
}