diff options
author | Péter Szilágyi <peterke@gmail.com> | 2016-08-19 22:30:34 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-19 22:30:34 +0800 |
commit | 37bda7e029c160cdfa277fc4689fb58bc8d6a9df (patch) | |
tree | ef4a69e341c4389e7cd21dd3288891a896c83061 /eth | |
parent | 475521dd747070372f84c2b0ac202e14216dc0e0 (diff) | |
parent | 454dc9b7c26cf54a6870eb2815ebc13814f05f2b (diff) | |
download | dexon-37bda7e029c160cdfa277fc4689fb58bc8d6a9df.tar.gz dexon-37bda7e029c160cdfa277fc4689fb58bc8d6a9df.tar.zst dexon-37bda7e029c160cdfa277fc4689fb58bc8d6a9df.zip |
Merge pull request #2921 from karalabe/fix-fetcher-log
eth/fetcher: fix a log message formatting issue
Diffstat (limited to 'eth')
-rw-r--r-- | eth/fetcher/fetcher.go | 2 |
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 |