Browse Source

fix linter issues

pull/1936/head
Anton Kaliaev 6 years ago
parent
commit
6a85aecfb7
No known key found for this signature in database GPG Key ID: 7B6881D965918214
2 changed files with 2 additions and 1 deletions
  1. +1
    -0
      libs/pubsub/query/query.peg.go
  2. +1
    -1
      types/validator_set.go

+ 1
- 0
libs/pubsub/query/query.peg.go View File

@ -1,3 +1,4 @@
// nolint
package query package query
//go:generate peg -inline -switch query.peg //go:generate peg -inline -switch query.peg


+ 1
- 1
types/validator_set.go View File

@ -39,7 +39,7 @@ func NewValidatorSet(vals []*Validator) *ValidatorSet {
Validators: validators, Validators: validators,
} }
if vals != nil && len(vals) > 0 {
if len(vals) > 0 {
vs.IncrementAccum(1) vs.IncrementAccum(1)
} }


Loading…
Cancel
Save