From b3541585024517b70ef74fce12365b57981c2bfa Mon Sep 17 00:00:00 2001 From: rene <41963722+renaynay@users.noreply.github.com> Date: Wed, 31 May 2023 10:54:26 +0200 Subject: [PATCH] wait --- header/header.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/header/header.go b/header/header.go index 175b8a83ff..e59d3802c1 100644 --- a/header/header.go +++ b/header/header.go @@ -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" @@ -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) }