Skip to content

Commit eab43cf

Browse files
committed
context: fix typo in doc
Signed-off-by: Anna Shaleva <[email protected]>
1 parent 575d7ed commit eab43cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: context.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ func (c *Context[H]) WatchOnly() bool { return c.MyIndex < 0 || c.Config.WatchOn
130130
// extension) messages not only for the current epoch but also for any other epoch.
131131
func (c *Context[H]) CountCommitted() (count int) {
132132
for i := range c.CommitPayloads {
133-
// Consider both Commit and PreCommit payloads since node both Commit and PreCommit
133+
// Consider both Commit and PreCommit payloads since both Commit and PreCommit
134134
// phases are one-directional (do not impose view change).
135135
if c.CommitPayloads[i] != nil || c.PreCommitPayloads[i] != nil {
136136
count++

0 commit comments

Comments
 (0)