From fed6e060f76ac9a2579dc0479d95b34951913d49 Mon Sep 17 00:00:00 2001
From: Casey Kuhlman <casey@monax.io>
Date: Mon, 4 Jun 2018 18:35:14 +0100
Subject: [PATCH] bring our log fields in line with tendermints on ABCI-App
 component

Signed-off-by: Casey Kuhlman <casey@monax.io>
---
 consensus/tendermint/abci/app.go | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/consensus/tendermint/abci/app.go b/consensus/tendermint/abci/app.go
index 3a51a902..6ad44116 100644
--- a/consensus/tendermint/abci/app.go
+++ b/consensus/tendermint/abci/app.go
@@ -173,10 +173,10 @@ func (app *App) Commit() abci_types.ResponseCommit {
 	app.logger.InfoMsg("Committing block",
 		"tag", "Commit",
 		structure.ScopeKey, "Commit()",
-		"block_height", app.block.Header.Height,
-		"block_hash", app.block.Hash,
-		"block_time", app.block.Header.Time,
-		"num_txs", app.block.Header.NumTxs,
+		"height", app.block.Header.Height,
+		"hash", app.block.Hash,
+		"txs", app.block.Header.NumTxs,
+		"block_time", app.block.Header.Time, // [CSK] this sends a fairly non-sensical number; should be human readable
 		"last_block_time", tip.LastBlockTime(),
 		"last_block_hash", tip.LastBlockHash())
 
-- 
GitLab