From 46c11383d1c3424eda996fbb99de09c9f3dea393 Mon Sep 17 00:00:00 2001 From: marbar3778 Date: Thu, 7 Sep 2023 15:44:35 +0200 Subject: [PATCH] height -> hash --- x/staking/keeper/historical_info.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x/staking/keeper/historical_info.go b/x/staking/keeper/historical_info.go index 520a0062b55d..7a46eed30fe0 100644 --- a/x/staking/keeper/historical_info.go +++ b/x/staking/keeper/historical_info.go @@ -51,7 +51,7 @@ func (k Keeper) TrackHistoricalInfo(ctx context.Context) error { } h := cmtproto.Header{ - Height: sdkCtx.BlockHeight(), + AppHash: sdkCtx.HeaderInfo().AppHash, Time: sdkCtx.HeaderInfo().Time, ChainID: sdkCtx.HeaderInfo().ChainID, NextValidatorsHash: sdkCtx.CometInfo().GetValidatorsHash(),