aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2016-08-19 22:30:34 +0800
committerGitHub <noreply@github.com>2016-08-19 22:30:34 +0800
commit37bda7e029c160cdfa277fc4689fb58bc8d6a9df (patch)
treeef4a69e341c4389e7cd21dd3288891a896c83061
parent475521dd747070372f84c2b0ac202e14216dc0e0 (diff)
parent454dc9b7c26cf54a6870eb2815ebc13814f05f2b (diff)
downloaddexon-37bda7e029c160cdfa277fc4689fb58bc8d6a9df.tar
dexon-37bda7e029c160cdfa277fc4689fb58bc8d6a9df.tar.gz
dexon-37bda7e029c160cdfa277fc4689fb58bc8d6a9df.tar.bz2
dexon-37bda7e029c160cdfa277fc4689fb58bc8d6a9df.tar.lz
dexon-37bda7e029c160cdfa277fc4689fb58bc8d6a9df.tar.xz
dexon-37bda7e029c160cdfa277fc4689fb58bc8d6a9df.tar.zst
dexon-37bda7e029c160cdfa277fc4689fb58bc8d6a9df.zip
Merge pull request #2921 from karalabe/fix-fetcher-log
eth/fetcher: fix a log message formatting issue
-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