From 0084042617442df47d15037ebc3778012d036621 Mon Sep 17 00:00:00 2001 From: Herr Seppia Date: Mon, 22 Jul 2024 15:07:43 +0200 Subject: [PATCH] consensus: fix code comments --- consensus/src/execution_ctx.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/consensus/src/execution_ctx.rs b/consensus/src/execution_ctx.rs index 0525c7b598..57fdee826b 100644 --- a/consensus/src/execution_ctx.rs +++ b/consensus/src/execution_ctx.rs @@ -136,7 +136,7 @@ impl<'a, DB: Database, T: Operations + 'static> ExecutionCtx<'a, DB, T> { let open_consensus_mode = self.last_step_running(); // When consensus is in open_consensus_mode then it keeps Ratification - // step running infinitely until either a valid block or + // step running indefinitely until either a valid block or // emergency block is accepted let timeout = if open_consensus_mode { let dur = Duration::new(u32::MAX as u64, 0); @@ -162,7 +162,7 @@ impl<'a, DB: Database, T: Operations + 'static> ExecutionCtx<'a, DB, T> { if open_consensus_mode { // In open consensus mode, consensus step is never // terminated. - // The acceptor will cancel the consensus if the + // The acceptor will cancel the consensus if a // block is accepted continue; }