We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 575d7ed commit eab43cfCopy full SHA for eab43cf
context.go
@@ -130,7 +130,7 @@ func (c *Context[H]) WatchOnly() bool { return c.MyIndex < 0 || c.Config.WatchOn
130
// extension) messages not only for the current epoch but also for any other epoch.
131
func (c *Context[H]) CountCommitted() (count int) {
132
for i := range c.CommitPayloads {
133
- // Consider both Commit and PreCommit payloads since node both Commit and PreCommit
+ // Consider both Commit and PreCommit payloads since both Commit and PreCommit
134
// phases are one-directional (do not impose view change).
135
if c.CommitPayloads[i] != nil || c.PreCommitPayloads[i] != nil {
136
count++
0 commit comments