Skip to content

Commit

Permalink
check: adjust PreBlock processing message
Browse files Browse the repository at this point in the history
PreBlock may be created earlier at the PreCommit verification level, and
it's OK. However, it's required at least M PreCommits to _process_
PreBlock.

Signed-off-by: Anna Shaleva <[email protected]>
  • Loading branch information
AnnaShaleva committed Sep 2, 2024
1 parent f2e6bd2 commit a70ec44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion check.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ func (d *DBFT[H]) checkPreCommit() {
}

if count < d.M() {
d.Logger.Debug("not enough PreCommits to create PreBlock", zap.Int("count", count))
d.Logger.Debug("not enough PreCommits to process PreBlock", zap.Int("count", count))
return
}

Expand Down

0 comments on commit a70ec44

Please sign in to comment.