Fix comment

This commit is contained in:
Anca Zamfir
2022-01-11 10:09:41 +01:00
parent 693bae7a29
commit 4be630175b
+1 -1
View File
@@ -1325,7 +1325,7 @@ func (cs *State) proposalIsTimely() bool {
func (cs *State) defaultDoPrevote(height int64, round int32) {
logger := cs.Logger.With("height", height, "round", round)
// We did not receive a proposal within this round. (and thus executing this from a timeout)
// Check that a proposed block was not received within this round (and thus executing this from a timeout).
if cs.ProposalBlock == nil {
logger.Debug("prevote step: ProposalBlock is nil; prevoting nil")
cs.signAddVote(tmproto.PrevoteType, nil, types.PartSetHeader{})