Skip to content

Commit

Permalink
wait
Browse files Browse the repository at this point in the history
  • Loading branch information
renaynay committed May 31, 2023
1 parent ecea78f commit b354158
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions header/header.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import (
tmjson "github.com/tendermint/tendermint/libs/json"
core "github.com/tendermint/tendermint/types"

"github.com/celestiaorg/celestia-app/pkg/appconsts"
"github.com/celestiaorg/celestia-app/pkg/da"
libhead "github.com/celestiaorg/go-header"
"github.com/celestiaorg/rsmt2d"
Expand Down Expand Up @@ -115,8 +116,8 @@ func (eh *ExtendedHeader) Validate() error {
return fmt.Errorf("ValidateBasic error on RawHeader at height %d: %w", eh.Height(), err)
}

if eh.RawHeader.Version.App != appconsts.AppVersion {
return fmt.Errorf("app version mismatch, expected: %d, got %d", appconsts.AppVersion,
if eh.RawHeader.Version.App != appconsts.LatestVersion {
return fmt.Errorf("app version mismatch, expected: %d, got %d", appconsts.LatestVersion,
eh.RawHeader.Version.App)
}

Expand Down

0 comments on commit b354158

Please sign in to comment.