feat(pruner): respect ExEx finished height (#7673)

This commit is contained in:
Alexey Shekhirin
2024-04-18 19:15:28 +02:00
committed by GitHub
parent 6863cdb42b
commit e401c4848a
8 changed files with 117 additions and 23 deletions

View File

@ -396,8 +396,8 @@ impl ExExManagerHandle {
}
/// The finished height of all ExEx's.
pub fn finished_height(&mut self) -> FinishedExExHeight {
*self.finished_height.borrow_and_update()
pub fn finished_height(&self) -> watch::Receiver<FinishedExExHeight> {
self.finished_height.clone()
}
/// Wait until the manager is ready for new notifications.