Skip to content

Commit

Permalink
Merge pull request #34 from InjectiveLabs/fix/header-app-hash
Browse files Browse the repository at this point in the history
fix: set correct header.AppHash field in internalFinalizeBlock
  • Loading branch information
kakysha authored Nov 6, 2024
2 parents 224eb95 + 5654da5 commit 789f4f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion baseapp/abci.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 789f4f2

Please sign in to comment.