From ba0bb1a789e237c1c38b6422b81aba500cc0a5be Mon Sep 17 00:00:00 2001 From: William Banfield Date: Thu, 14 Oct 2021 08:06:16 -0400 Subject: [PATCH] update enterPrevote comment --- internal/consensus/state.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/consensus/state.go b/internal/consensus/state.go index 5df9cba5c..63958a267 100644 --- a/internal/consensus/state.go +++ b/internal/consensus/state.go @@ -1266,8 +1266,8 @@ func (cs *State) createProposalBlock() (block *types.Block, blockParts *types.Pa // Enter: `timeoutPropose` after entering Propose. // Enter: proposal block and POL is ready. // If we received a valid proposal within this round that matches the block we are -// locked on or matches a block that received a POL in a previous round, prevote -// for the proposal, otherwise vote nil. +// locked on or matches a block that received a POL in a round later than our +// locked round, prevote for the proposal, otherwise vote nil. func (cs *State) enterPrevote(height int64, round int32) { logger := cs.Logger.With("height", height, "round", round)