Skip to content

Commit

Permalink
Merge branch 'evan/fix-v3-upgrade-delay' of github.com:celestiaorg/la…
Browse files Browse the repository at this point in the history
…zyledger-app into evan/fix-v3-upgrade-delay
  • Loading branch information
evan-forbes committed Oct 28, 2024
2 parents 02b2a78 + bce247e commit 93ac7b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/signal/keeper.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit 93ac7b6

Please sign in to comment.