Get current view directly from the engine (#269)

This commit is contained in:
gusto 2023-07-21 12:30:52 +03:00 committed by GitHub
parent 8dd34f81b4
commit 7d64915dd7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -319,7 +319,7 @@ impl<L: UpdateableLeaderSelection, O: Overlay<LeaderSelection = L>> Node for Car
}
fn current_view(&self) -> View {
self.event_builder.current_view
self.engine.current_view()
}
fn state(&self) -> &CarnotState {