From c69f933d61962ffae5420b1cb476bfa2e5c96a1f Mon Sep 17 00:00:00 2001 From: William Banfield Date: Tue, 21 Sep 2021 11:43:33 -0400 Subject: [PATCH] update precommit on relock comment --- internal/consensus/state.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/internal/consensus/state.go b/internal/consensus/state.go index ce4ae6ec4..bbb688bbc 100644 --- a/internal/consensus/state.go +++ b/internal/consensus/state.go @@ -1429,7 +1429,9 @@ func (cs *State) enterPrecommit(height int64, round int32) { return } - // If +2/3 prevoted for proposal block, stage and precommit it + // If greater than 2/3 of the voting power on the network prevoted for + // the proposed block, update our locked block to this block and issue a + // precommit vote for it. if cs.ProposalBlock.HashesTo(blockID.Hash) { logger.Debug("precommit step; +2/3 prevoted proposal block; locking", "hash", blockID.Hash)