Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
renaynay committed Aug 8, 2024
1 parent 207e9bb commit 38ec710
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions header/header.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@ func (eh *ExtendedHeader) Validate() error {
}

if eh.RawHeader.Version.App > appconsts.LatestVersion || eh.RawHeader.Version.App == 0 {

Check failure on line 116 in header/header.go

View workflow job for this annotation

GitHub Actions / go-ci / Lint

undefined: appconsts

Check failure on line 116 in header/header.go

View workflow job for this annotation

GitHub Actions / go-ci / Lint

undefined: appconsts

Check failure on line 116 in header/header.go

View workflow job for this annotation

GitHub Actions / go-ci / Lint

undefined: appconsts

Check failure on line 116 in header/header.go

View workflow job for this annotation

GitHub Actions / go-ci / Lint

undefined: appconsts
return fmt.Errorf("header received at height %d has version %d, this node supports up to version %d. "+
"Please upgrade to support new version. Note, 0 is not a valid version",
return fmt.Errorf("header received at height %d has version %d, this node supports up "+
"to version %d. Please upgrade to support new version. Note, 0 is not a valid version",
eh.RawHeader.Height, eh.RawHeader.Version.App, appconsts.LatestVersion)

Check failure on line 119 in header/header.go

View workflow job for this annotation

GitHub Actions / go-ci / Lint

undefined: appconsts (typecheck)

Check failure on line 119 in header/header.go

View workflow job for this annotation

GitHub Actions / go-ci / Lint

undefined: appconsts) (typecheck)

Check failure on line 119 in header/header.go

View workflow job for this annotation

GitHub Actions / go-ci / Lint

undefined: appconsts) (typecheck)
}

Expand Down

0 comments on commit 38ec710

Please sign in to comment.