Skip to content
Snippets Groups Projects
Unverified Commit fed6e060 authored by Casey Kuhlman's avatar Casey Kuhlman
Browse files

bring our log fields in line with tendermints on ABCI-App component


Signed-off-by: default avatarCasey Kuhlman <casey@monax.io>
parent aa390fe0
No related branches found
No related tags found
No related merge requests found
...@@ -173,10 +173,10 @@ func (app *App) Commit() abci_types.ResponseCommit { ...@@ -173,10 +173,10 @@ func (app *App) Commit() abci_types.ResponseCommit {
app.logger.InfoMsg("Committing block", app.logger.InfoMsg("Committing block",
"tag", "Commit", "tag", "Commit",
structure.ScopeKey, "Commit()", structure.ScopeKey, "Commit()",
"block_height", app.block.Header.Height, "height", app.block.Header.Height,
"block_hash", app.block.Hash, "hash", app.block.Hash,
"block_time", app.block.Header.Time, "txs", app.block.Header.NumTxs,
"num_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_time", tip.LastBlockTime(),
"last_block_hash", tip.LastBlockHash()) "last_block_hash", tip.LastBlockHash())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment