aboutsummaryrefslogtreecommitdiffstats
path: root/core/headerchain.go
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2017-01-11 05:55:54 +0800
committerFelix Lange <fjl@twurst.com>2017-01-11 06:14:08 +0800
commit21f1370d2a1d7199e65697c7b5d56a8253b78871 (patch)
tree2533ca4735bf2338d4e6f40c6b1698b7a4d1c353 /core/headerchain.go
parent02b67558e8eaa7b34a28b8dd0223824bbbb52349 (diff)
downloaddexon-21f1370d2a1d7199e65697c7b5d56a8253b78871.tar
dexon-21f1370d2a1d7199e65697c7b5d56a8253b78871.tar.gz
dexon-21f1370d2a1d7199e65697c7b5d56a8253b78871.tar.bz2
dexon-21f1370d2a1d7199e65697c7b5d56a8253b78871.tar.lz
dexon-21f1370d2a1d7199e65697c7b5d56a8253b78871.tar.xz
dexon-21f1370d2a1d7199e65697c7b5d56a8253b78871.tar.zst
dexon-21f1370d2a1d7199e65697c7b5d56a8253b78871.zip
core: improve import log alignment
Diffstat (limited to 'core/headerchain.go')
-rw-r--r--core/headerchain.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/headerchain.go b/core/headerchain.go
index ca630a4f7..1dc189323 100644
--- a/core/headerchain.go
+++ b/core/headerchain.go
@@ -339,7 +339,7 @@ func (hc *HeaderChain) InsertHeaderChain(chain []*types.Header, checkFreq int, w
if stats.ignored > 0 {
ignored = fmt.Sprintf(" (%d ignored)", stats.ignored)
}
- glog.V(logger.Info).Infof("imported %d headers%s in %9v. #%v [%x… / %x…]", stats.processed, ignored, common.PrettyDuration(time.Since(start)), last.Number, first.Hash().Bytes()[:4], last.Hash().Bytes()[:4])
+ glog.V(logger.Info).Infof("imported %4d headers%s in %9v. #%v [%x… / %x…]", stats.processed, ignored, common.PrettyDuration(time.Since(start)), last.Number, first.Hash().Bytes()[:4], last.Hash().Bytes()[:4])
return 0, nil
}