Get current view directly from the engine (#269)
This commit is contained in:
parent
8dd34f81b4
commit
7d64915dd7
|
@ -319,7 +319,7 @@ impl<L: UpdateableLeaderSelection, O: Overlay<LeaderSelection = L>> Node for Car
|
||||||
}
|
}
|
||||||
|
|
||||||
fn current_view(&self) -> View {
|
fn current_view(&self) -> View {
|
||||||
self.event_builder.current_view
|
self.engine.current_view()
|
||||||
}
|
}
|
||||||
|
|
||||||
fn state(&self) -> &CarnotState {
|
fn state(&self) -> &CarnotState {
|
||||||
|
|
Loading…
Reference in New Issue