Skip to content

Commit 37770ed

Browse files
committed
core: added unix timestamp to debug output for block proc
1 parent 1470b22 commit 37770ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/chain_manager.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -604,7 +604,7 @@ func (self *ChainManager) InsertChain(chain types.Blocks) (int, error) {
604604
queueEvent.canonicalCount++
605605

606606
if glog.V(logger.Debug) {
607-
glog.Infof("inserted block #%d (%d TXs %d UNCs) (%x...)\n", block.Number(), len(block.Transactions()), len(block.Uncles()), block.Hash().Bytes()[0:4])
607+
glog.Infof("[%v] inserted block #%d (%d TXs %d UNCs) (%x...)\n", time.Now().UnixNano(), block.Number(), len(block.Transactions()), len(block.Uncles()), block.Hash().Bytes()[0:4])
608608
}
609609
} else {
610610
if glog.V(logger.Detail) {

0 commit comments

Comments
 (0)