From cd395c74d3e15ba73cdf7b9236b1494a998f96f3 Mon Sep 17 00:00:00 2001 From: William Banfield Date: Wed, 29 Sep 2021 11:01:31 -0400 Subject: [PATCH] change prevote log message --- internal/consensus/state.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/internal/consensus/state.go b/internal/consensus/state.go index bef62137a..96eb2d0fd 100644 --- a/internal/consensus/state.go +++ b/internal/consensus/state.go @@ -1340,7 +1340,8 @@ func (cs *State) defaultDoPrevote(height int64, round int32) { blockID, ok := cs.Votes.Prevotes(cs.Proposal.POLRound).TwoThirdsMajority() if ok && cs.ProposalBlock.HashesTo(blockID.Hash) && cs.Proposal.POLRound >= 0 && cs.Proposal.POLRound < cs.Round { if cs.LockedRound <= cs.Proposal.POLRound { - logger.Debug("prevote step: ProposalBlock is valid and already received a 2/3 majority in a round; prevoting the proposal") + logger.Debug("prevote step: ProposalBlock is valid and received a 2/3" + + "majority in a round later than the locked round; prevoting the proposal") cs.signAddVote(tmproto.PrevoteType, cs.ProposalBlock.Hash(), cs.ProposalBlockParts.Header()) return }