Skip to content

Commit

Permalink
modify_log
Browse files Browse the repository at this point in the history
  • Loading branch information
Apple authored and Apple committed Feb 26, 2019
1 parent 805b96b commit 273b163
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions blockchain/blockchain_insert.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,8 @@ func (st *insertStats) report(chain []*types.Block, index int) {

// Assemble the log context and send it to the logger
context := []interface{}{
"blocks", st.processed, "txs", st.txsCnt, "mgas", float64(st.usedGas) / 1000000,
"elapsed", common.PrettyDuration(elapsed), "mgasps", float64(st.usedGas) * 1000 / float64(elapsed),
"number", end.Number(), "hash", end.Hash(),
"blocks", st.processed, "txs", st.txsCnt, "gas", float64(st.usedGas),
"elapsed", common.PrettyDuration(elapsed), "number", end.Number(), "hash", end.Hash(),
}

if st.queued > 0 {
Expand Down

0 comments on commit 273b163

Please sign in to comment.