aboutsummaryrefslogtreecommitdiffstats
path: root/eth/downloader/synchronous.go
diff options
context:
space:
mode:
Diffstat (limited to 'eth/downloader/synchronous.go')
-rw-r--r--eth/downloader/synchronous.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/eth/downloader/synchronous.go b/eth/downloader/synchronous.go
index 0511533cf..7bb49d24e 100644
--- a/eth/downloader/synchronous.go
+++ b/eth/downloader/synchronous.go
@@ -50,6 +50,8 @@ func (d *Downloader) Synchronise() (types.Blocks, error) {
}
func (d *Downloader) getFromPeer(p *peer, hash common.Hash, ignoreInitial bool) error {
+ d.activePeer = p.id
+
glog.V(logger.Detail).Infoln("Synchronising with the network using:", p.id)
// Start the fetcher. This will block the update entirely
// interupts need to be send to the appropriate channels