aboutsummaryrefslogtreecommitdiffstats
path: root/eth/downloader/downloader.go
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2017-02-27 19:22:33 +0800
committerPéter Szilágyi <peterke@gmail.com>2017-02-27 19:22:33 +0800
commit8676aeb798f575024e173ca5c677aaee32e77725 (patch)
tree4f20591ccc4b60ceca0379a20074df856a3d2be7 /eth/downloader/downloader.go
parent46eea4d10533f9376e0d36255dfc1083e28d5bbc (diff)
downloadgo-tangerine-8676aeb798f575024e173ca5c677aaee32e77725.tar
go-tangerine-8676aeb798f575024e173ca5c677aaee32e77725.tar.gz
go-tangerine-8676aeb798f575024e173ca5c677aaee32e77725.tar.bz2
go-tangerine-8676aeb798f575024e173ca5c677aaee32e77725.tar.lz
go-tangerine-8676aeb798f575024e173ca5c677aaee32e77725.tar.xz
go-tangerine-8676aeb798f575024e173ca5c677aaee32e77725.tar.zst
go-tangerine-8676aeb798f575024e173ca5c677aaee32e77725.zip
eth/downloader: review fixes
Diffstat (limited to 'eth/downloader/downloader.go')
-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 8ce86eacd..92e42f0b3 100644
--- a/eth/downloader/downloader.go
+++ b/eth/downloader/downloader.go
@@ -383,7 +383,7 @@ func (d *Downloader) syncWithPeer(p *peer, hash common.Hash, td *big.Int) (err e
return errTooOld
}
- log.Debug("Synchronising with the network", "peer", p.id, "eth", p.version, "head", hash.Hex()[2:10], "td", td, "mode", syncModeLabels[d.mode])
+ log.Debug("Synchronising with the network", "peer", p.id, "eth", p.version, "head", hash.Hex()[2:10], "td", td, "mode", d.mode)
defer func(start time.Time) {
log.Debug("Synchronisation terminated", "elapsed", time.Since(start))
}(time.Now())