From b3f3c32381f87a6fcf1d61b514923af16c021492 Mon Sep 17 00:00:00 2001 From: Thane Thomson Date: Mon, 2 May 2022 13:45:17 -0400 Subject: [PATCH] Fix comment Signed-off-by: Thane Thomson --- types/vote_set.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/vote_set.go b/types/vote_set.go index 0c783d5d1..3e9e53b59 100644 --- a/types/vote_set.go +++ b/types/vote_set.go @@ -606,8 +606,8 @@ func (voteSet *VoteSet) sumTotalFrac() (int64, int64, float64) { //-------------------------------------------------------------------------------- // Commit -// MakeCommit constructs a Commit from the VoteSet. It only includes precommits -// for the block, which has 2/3+ majority, and nil. +// MakeExtendedCommit constructs a Commit from the VoteSet. It only includes +// precommits for the block, which has 2/3+ majority, and nil. // // Panics if the vote type is not PrecommitType or if there's no +2/3 votes for // a single block.