aboutsummaryrefslogtreecommitdiffstats
path: root/eth
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2018-02-08 13:49:23 +0800
committerPéter Szilágyi <peterke@gmail.com>2018-02-08 13:49:23 +0800
commiteb07dbb0790fc0f5fe5b3192da6b4d04d844239f (patch)
treefc202b98db400d6760799dfa0e8e588b8375045e /eth
parent55599ee95d4151a2502465e0afc7c47bd1acba77 (diff)
downloaddexon-eb07dbb0790fc0f5fe5b3192da6b4d04d844239f.tar
dexon-eb07dbb0790fc0f5fe5b3192da6b4d04d844239f.tar.gz
dexon-eb07dbb0790fc0f5fe5b3192da6b4d04d844239f.tar.bz2
dexon-eb07dbb0790fc0f5fe5b3192da6b4d04d844239f.tar.lz
dexon-eb07dbb0790fc0f5fe5b3192da6b4d04d844239f.tar.xz
dexon-eb07dbb0790fc0f5fe5b3192da6b4d04d844239f.tar.zst
dexon-eb07dbb0790fc0f5fe5b3192da6b4d04d844239f.zip
eth, light: minor light client startup cleanups
Diffstat (limited to 'eth')
-rw-r--r--eth/downloader/downloader.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/eth/downloader/downloader.go b/eth/downloader/downloader.go
index 7f490d9e9..3870f10b9 100644
--- a/eth/downloader/downloader.go
+++ b/eth/downloader/downloader.go
@@ -266,7 +266,6 @@ func (d *Downloader) Synchronising() bool {
// RegisterPeer injects a new download peer into the set of block source to be
// used for fetching hashes and blocks from.
func (d *Downloader) RegisterPeer(id string, version int, peer Peer) error {
-
logger := log.New("peer", id)
logger.Trace("Registering sync peer")
if err := d.peers.Register(newPeerConnection(id, version, peer, logger)); err != nil {