summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchris erway <chris.erway@algorand.com>2023-10-12 08:28:39 -0400
committerchris erway <chris.erway@algorand.com>2023-10-12 08:28:39 -0400
commitbe63b9e3eb921f7b6e9ae1c54c4cc97971f3d24d (patch)
treeb67f15536795547c06a33e43f05fa6756805cb0c
parentb62d48d38dbcd7ee79269f90fe16cb9375c87e21 (diff)
-rw-r--r--agreement/events.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/agreement/events.go b/agreement/events.go
index 14aeb9fac..afcfa3052 100644
--- a/agreement/events.go
+++ b/agreement/events.go
@@ -1015,7 +1015,7 @@ type constantRoundStartTimer time.Duration
func (c constantRoundStartTimer) Since() time.Duration { return time.Duration(c) }
-// clockForRound retrieves the roundZeroTimer used for AttachValidatedAt and AttachReceivedAt.
+// clockForRound retrieves the roundStartTimer used for AttachValidatedAt and AttachReceivedAt.
func clockForRound(currentRound round, currentClock roundStartTimer, historicalClocks map[round]roundStartTimer) func(round) roundStartTimer {
return func(eventRound round) roundStartTimer {
if eventRound > currentRound {