aboutsummaryrefslogtreecommitdiffstats
path: root/eth
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2016-08-19 19:04:03 +0800
committerPéter Szilágyi <peterke@gmail.com>2016-08-19 19:04:03 +0800
commit454dc9b7c26cf54a6870eb2815ebc13814f05f2b (patch)
treeef4a69e341c4389e7cd21dd3288891a896c83061 /eth
parent475521dd747070372f84c2b0ac202e14216dc0e0 (diff)
downloadgo-tangerine-454dc9b7c26cf54a6870eb2815ebc13814f05f2b.tar.gz
go-tangerine-454dc9b7c26cf54a6870eb2815ebc13814f05f2b.tar.zst
go-tangerine-454dc9b7c26cf54a6870eb2815ebc13814f05f2b.zip
eth/fetcher: fix a log message formatting issue
Diffstat (limited to 'eth')
-rw-r--r--eth/fetcher/fetcher.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/eth/fetcher/fetcher.go b/eth/fetcher/fetcher.go
index bd235bb9e..039bdba2a 100644
--- a/eth/fetcher/fetcher.go
+++ b/eth/fetcher/fetcher.go
@@ -661,7 +661,7 @@ func (f *Fetcher) insert(peer string, block *types.Block) {
// If the parent's unknown, abort insertion
parent := f.getBlock(block.ParentHash())
if parent == nil {
- glog.V(logger.Debug).Infof("Peer %s: parent []%x] of block #%d [%x…] unknown", block.ParentHash().Bytes()[:4], peer, block.NumberU64(), hash[:4])
+ glog.V(logger.Debug).Infof("Peer %s: parent [%x…] of block #%d [%x…] unknown", peer, block.ParentHash().Bytes()[:4], block.NumberU64(), hash[:4])
return
}
// Quickly validate the header and propagate the block if it passes