diff --git a/src/runtime2/component/component_pdl.rs b/src/runtime2/component/component_pdl.rs index 1ff5db7821f8ffaa23ef05b0672f5d5a7f0afb4e..5a6b6e686dd7b5c95a4527c96c7c8e52dc121dc0 100644 --- a/src/runtime2/component/component_pdl.rs +++ b/src/runtime2/component/component_pdl.rs @@ -207,7 +207,7 @@ impl SelectState { pub(crate) struct CompPDL { pub exec_state: CompExecState, - pub select_state: SelectState, + select_state: SelectState, pub prompt: Prompt, pub control: ControlLayer, pub consensus: Consensus, @@ -462,7 +462,7 @@ impl CompPDL { /// the internal `Mode`, such that the next call to `run` can take the /// appropriate next steps. fn handle_sync_decision(&mut self, sched_ctx: &SchedulerCtx, _comp_ctx: &mut CompCtx, decision: SyncRoundDecision) { - sched_ctx.log(&format!("Handling sync decision: {:?} (in mode {:?})", decision, self.mode)); + sched_ctx.log(&format!("Handling sync decision: {:?} (in mode {:?})", decision, self.exec_state.mode)); match decision { SyncRoundDecision::None => { // No decision yet