mirror of
https://github.com/tendermint/tendermint.git
synced 2026-09-20 15:04:22 +00:00
correct NewStrictVoteSet constructor to not call itself
This commit is contained in:
+1
-1
@@ -98,7 +98,7 @@ func NewVoteSet(chainID string, height int64, round int32,
|
|||||||
// data for every vote added to the set.
|
// data for every vote added to the set.
|
||||||
func NewStrictVoteSet(chainID string, height int64, round int32,
|
func NewStrictVoteSet(chainID string, height int64, round int32,
|
||||||
signedMsgType tmproto.SignedMsgType, valSet *ValidatorSet) *VoteSet {
|
signedMsgType tmproto.SignedMsgType, valSet *ValidatorSet) *VoteSet {
|
||||||
vs := NewStrictVoteSet(chainID, height, round, signedMsgType, valSet)
|
vs := NewVoteSet(chainID, height, round, signedMsgType, valSet)
|
||||||
vs.requireExtensions = true
|
vs.requireExtensions = true
|
||||||
return vs
|
return vs
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user