aboutsummaryrefslogtreecommitdiffstats
path: root/eth
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2017-02-22 20:56:09 +0800
committerPéter Szilágyi <peterke@gmail.com>2017-02-23 18:16:45 +0800
commit61e6bb12478740d614c8effd330f881f962b7b84 (patch)
tree71109a9d02fd7d0b243994b5584618b9e8b46d7b /eth
parentd4fd06c3dc6cd6d2dbd2bfebfee5bcb46a504851 (diff)
downloaddexon-61e6bb12478740d614c8effd330f881f962b7b84.tar
dexon-61e6bb12478740d614c8effd330f881f962b7b84.tar.gz
dexon-61e6bb12478740d614c8effd330f881f962b7b84.tar.bz2
dexon-61e6bb12478740d614c8effd330f881f962b7b84.tar.lz
dexon-61e6bb12478740d614c8effd330f881f962b7b84.tar.xz
dexon-61e6bb12478740d614c8effd330f881f962b7b84.tar.zst
dexon-61e6bb12478740d614c8effd330f881f962b7b84.zip
eth, les, swarm: fix go vet issues sufraced by log15
Diffstat (limited to 'eth')
-rw-r--r--eth/downloader/downloader.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/eth/downloader/downloader.go b/eth/downloader/downloader.go
index b323c94f9..1fac6156d 100644
--- a/eth/downloader/downloader.go
+++ b/eth/downloader/downloader.go
@@ -938,7 +938,7 @@ func (d *Downloader) fetchNodeData() error {
}
if err != nil {
// If the node data processing failed, the root hash is very wrong, abort
- log.Error(fmt.Sprintf("peer %d: state processing failed: %v", packet.PeerId(), err))
+ log.Error(fmt.Sprintf("peer %s: state processing failed: %v", packet.PeerId(), err))
d.cancel()
return
}