Anton Kaliaev
6 years ago
No known key found for this signature in database
GPG Key ID: 7B6881D965918214
2 changed files with
2 additions and
1 deletions
-
libs/pubsub/query/query.peg.go
-
types/validator_set.go
|
|
@ -1,3 +1,4 @@ |
|
|
|
// nolint
|
|
|
|
package query |
|
|
|
|
|
|
|
//go:generate peg -inline -switch query.peg
|
|
|
|
|
|
@ -39,7 +39,7 @@ func NewValidatorSet(vals []*Validator) *ValidatorSet { |
|
|
|
Validators: validators, |
|
|
|
} |
|
|
|
|
|
|
|
if vals != nil && len(vals) > 0 { |
|
|
|
if len(vals) > 0 { |
|
|
|
vs.IncrementAccum(1) |
|
|
|
} |
|
|
|
|
|
|
|