Browse Source

fix appHash log. closes #1207

pull/1202/head
Ethan Buchman 7 years ago
parent
commit
f4feb7703b
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      state/execution.go

+ 4
- 1
state/execution.go View File

@ -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 {


Loading…
Cancel
Save