diff --git a/app/app.go b/app/app.go index 344291d833..b30e616a73 100644 --- a/app/app.go +++ b/app/app.go @@ -80,7 +80,7 @@ func (app *EthermintApplication) Info() abciTypes.ResponseInfo { blockchain := app.backend.Ethereum().BlockChain() currentBlock := blockchain.CurrentBlock() height := currentBlock.Number() - hash := currentBlock.Hash() + hash := currentBlock.TxHash() app.logger.Debug("Info", "height", height) // nolint: errcheck diff --git a/ethereum/pending.go b/ethereum/pending.go index 723f797ddc..45c972c243 100644 --- a/ethereum/pending.go +++ b/ethereum/pending.go @@ -210,7 +210,7 @@ func (w *work) commit(blockchain *core.BlockChain, db ethdb.Database) (common.Ha // create block object and compute final commit hash (hash of the ethereum block) block := ethTypes.NewBlock(w.header, w.transactions, nil, w.receipts) - blockHash := block.Hash() + blockHash := block.TxHash() // save the block to disk // log.Info("Committing block", "stateHash", hashArray, "blockHash", blockHash)