Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
renaynay committed Jul 29, 2024
1 parent 1d1b407 commit 80e20f3
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 @@ -115,8 +115,8 @@ func (eh *ExtendedHeader) Validate() error {
}

if eh.RawHeader.Version.App > appconsts.LatestVersion || eh.RawHeader.Version.App == 0 {
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)
}

Expand Down

0 comments on commit 80e20f3

Please sign in to comment.