Browse Source

fix lint

pull/8171/head
tycho garen 2 years ago
parent
commit
6ee5143324
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      internal/state/errors.go

+ 1
- 1
internal/state/errors.go View File

@ -93,7 +93,7 @@ func (e ErrNoValSetForHeight) Error() string {
if e.Err == nil {
return fmt.Sprintf("could not find validator set for height #%d", e.Height)
}
return fmt.Sprintf("could not find validator set for height #%d: %w", e.Height)
return fmt.Sprintf("could not find validator set for height #%d: %s", e.Height, e.Err.Error())
}
func (e ErrNoValSetForHeight) Unwrap() error { return e.Err }


Loading…
Cancel
Save