From bce247e84c6cebe3714906be125cce2a7d5d2f8d Mon Sep 17 00:00:00 2001 From: Evan Forbes <42654277+evan-forbes@users.noreply.github.com> Date: Mon, 28 Oct 2024 16:32:16 -0500 Subject: [PATCH] Update x/signal/keeper.go Co-authored-by: Callum Waters --- x/signal/keeper.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x/signal/keeper.go b/x/signal/keeper.go index b25aa35bb0..7e85e604d5 100644 --- a/x/signal/keeper.go +++ b/x/signal/keeper.go @@ -105,7 +105,7 @@ func (k *Keeper) TryUpgrade(ctx context.Context, _ *types.MsgTryUpgrade) (*types header := sdkCtx.BlockHeader() upgrade := types.Upgrade{ AppVersion: version, - UpgradeHeight: sdkCtx.BlockHeader().Height + appconsts.UpgradeHeightDelay(header.ChainID, header.Version.App), + UpgradeHeight: header.Height + appconsts.UpgradeHeightDelay(header.ChainID, header.Version.App), } k.setUpgrade(sdkCtx, upgrade) }