From 5654da5e6af9e2945c7cd291963563a0ef57be91 Mon Sep 17 00:00:00 2001 From: Martin Arrivets Date: Wed, 6 Nov 2024 18:03:25 +0100 Subject: [PATCH] fix: set correct header.AppHash field in internalFinalizeBlock --- baseapp/abci.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/baseapp/abci.go b/baseapp/abci.go index 973b10cece99..440f2b9ea0f6 100644 --- a/baseapp/abci.go +++ b/baseapp/abci.go @@ -723,7 +723,7 @@ func (app *BaseApp) internalFinalizeBlock(ctx context.Context, req *abci.Request Time: req.Time, ProposerAddress: req.ProposerAddress, NextValidatorsHash: req.NextValidatorsHash, - AppHash: req.AppHash, + AppHash: app.LastCommitID().Hash, ValidatorsHash: req.ValidatorsHash, ConsensusHash: req.ConsensusHash, DataHash: req.DataHash,