Skip to content

Commit

Permalink
Update x/signal/keeper.go
Browse files Browse the repository at this point in the history
Co-authored-by: Callum Waters <[email protected]>
  • Loading branch information
evan-forbes and cmwaters authored Oct 28, 2024
1 parent ba4ef7b commit bce247e
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 bce247e

Please sign in to comment.