mirror of
https://github.com/tendermint/tendermint.git
synced 2026-02-06 12:00:44 +00:00
correct NewStrictVoteSet constructor to not call itself
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user