correct NewStrictVoteSet constructor to not call itself

This commit is contained in:
William Banfield
2022-05-16 11:40:08 -04:00
parent f5cd75c090
commit 62ecdf5b60

View File

@@ -98,7 +98,7 @@ func NewVoteSet(chainID string, height int64, round int32,
// data for every vote added to the set.
func NewStrictVoteSet(chainID string, height int64, round int32,
signedMsgType tmproto.SignedMsgType, valSet *ValidatorSet) *VoteSet {
vs := NewStrictVoteSet(chainID, height, round, signedMsgType, valSet)
vs := NewVoteSet(chainID, height, round, signedMsgType, valSet)
vs.requireExtensions = true
return vs
}