mirror of
https://github.com/tendermint/tendermint.git
synced 2026-01-06 21:36:26 +00:00
fix linter issues
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user