From 01d78e7d3d2215f18b7081bf231598bc47aaef11 Mon Sep 17 00:00:00 2001 From: William Banfield Date: Tue, 17 May 2022 15:45:20 -0400 Subject: [PATCH] update comment for vote set constructor --- types/vote_set.go | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/types/vote_set.go b/types/vote_set.go index a0a95a89b..dc00c8369 100644 --- a/types/vote_set.go +++ b/types/vote_set.go @@ -70,10 +70,8 @@ type VoteSet struct { peerMaj23s map[string]BlockID // Maj23 for each peer } -// NewVoteSet instantiates all fields of a new vote set. This constructor does -// not require that the votes added to the set contain vote extension data, but -// if votes are added that contain extension data, the extension data will be -// verified. +// NewVoteSet instantiates all fields of a new vote set. This constructor required +// that no vote extension data be present on the votes taht are added to the set. func NewVoteSet(chainID string, height int64, round int32, signedMsgType tmproto.SignedMsgType, valSet *ValidatorSet) *VoteSet { if height == 0 {