diff options
author | Péter Szilágyi <peterke@gmail.com> | 2016-08-19 19:04:03 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2016-08-19 19:04:03 +0800 |
commit | 454dc9b7c26cf54a6870eb2815ebc13814f05f2b (patch) | |
tree | ef4a69e341c4389e7cd21dd3288891a896c83061 /eth/fetcher | |
parent | 475521dd747070372f84c2b0ac202e14216dc0e0 (diff) | |
download | dexon-454dc9b7c26cf54a6870eb2815ebc13814f05f2b.tar dexon-454dc9b7c26cf54a6870eb2815ebc13814f05f2b.tar.gz dexon-454dc9b7c26cf54a6870eb2815ebc13814f05f2b.tar.bz2 dexon-454dc9b7c26cf54a6870eb2815ebc13814f05f2b.tar.lz dexon-454dc9b7c26cf54a6870eb2815ebc13814f05f2b.tar.xz dexon-454dc9b7c26cf54a6870eb2815ebc13814f05f2b.tar.zst dexon-454dc9b7c26cf54a6870eb2815ebc13814f05f2b.zip |
eth/fetcher: fix a log message formatting issue
Diffstat (limited to 'eth/fetcher')
-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 |