From a106a9542b6c0398bd48412bf8b9aa80c96ead0f Mon Sep 17 00:00:00 2001 From: Cassandra Heart <7929478+CassOnMars@users.noreply.github.com> Date: Tue, 11 Nov 2025 04:59:26 -0600 Subject: [PATCH] Update comments in StrictMonotonicCounter Fix comment formatting and clarify description. --- consensus/counters/strict_monotonic_counter.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/consensus/counters/strict_monotonic_counter.go b/consensus/counters/strict_monotonic_counter.go index 6af0929..93b5023 100644 --- a/consensus/counters/strict_monotonic_counter.go +++ b/consensus/counters/strict_monotonic_counter.go @@ -5,8 +5,8 @@ import "sync/atomic" // StrictMonotonicCounter is a helper struct which implements a strict monotonic // counter. StrictMonotonicCounter is implemented using atomic operations and // doesn't allow to set a value which is lower or equal to the already stored -// ne. The counter is implemented solely with non-blocking atomic operations for -// concurrency safety. +// one. The counter is implemented solely with non-blocking atomic operations +// for concurrency safety. type StrictMonotonicCounter struct { atomicCounter uint64 }