mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
feat(pruner): respect ExEx finished height (#7673)
This commit is contained in:
@ -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.
|
||||
|
||||
Reference in New Issue
Block a user