From f4feb7703b584209e69e40b06c981ecc86b75291 Mon Sep 17 00:00:00 2001 From: Ethan Buchman Date: Mon, 19 Feb 2018 15:32:09 -0500 Subject: [PATCH] fix appHash log. closes #1207 --- state/execution.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/state/execution.go b/state/execution.go index 9dde52174..64db9f31a 100644 --- a/state/execution.go +++ b/state/execution.go @@ -142,7 +142,10 @@ func (blockExec *BlockExecutor) Commit(block *types.Block) ([]byte, error) { } // ResponseCommit has no error code - just data - blockExec.logger.Info("Committed state", "height", block.Height, "txs", block.NumTxs, "appHash", res.Data) + blockExec.logger.Info("Committed state", + "height", block.Height, + "txs", block.NumTxs, + "appHash", fmt.Sprintf("%X", res.Data)) // Update mempool. if err := blockExec.mempool.Update(block.Height, block.Txs); err != nil {