aboutsummaryrefslogtreecommitdiffstats
path: root/eth/downloader
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-04-19 19:32:09 +0800
committerobscuren <geffobscura@gmail.com>2015-04-19 19:33:14 +0800
commitcce4158cfc6c1080a2215dbbc5e52dfa3d310d61 (patch)
tree66e2cb4da9593e4abe9ab4c38714baf724c34a2d /eth/downloader
parent3d497be9bdbb6b97c302d1c8b505ee265d677138 (diff)
downloaddexon-cce4158cfc6c1080a2215dbbc5e52dfa3d310d61.tar
dexon-cce4158cfc6c1080a2215dbbc5e52dfa3d310d61.tar.gz
dexon-cce4158cfc6c1080a2215dbbc5e52dfa3d310d61.tar.bz2
dexon-cce4158cfc6c1080a2215dbbc5e52dfa3d310d61.tar.lz
dexon-cce4158cfc6c1080a2215dbbc5e52dfa3d310d61.tar.xz
dexon-cce4158cfc6c1080a2215dbbc5e52dfa3d310d61.tar.zst
dexon-cce4158cfc6c1080a2215dbbc5e52dfa3d310d61.zip
Removed debug println
Diffstat (limited to 'eth/downloader')
-rw-r--r--eth/downloader/downloader.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/eth/downloader/downloader.go b/eth/downloader/downloader.go
index 18c4bf4d4..2b9d1cbee 100644
--- a/eth/downloader/downloader.go
+++ b/eth/downloader/downloader.go
@@ -284,8 +284,6 @@ out:
// If there are unrequested hashes left start fetching
// from the available peers.
if d.queue.hashPool.Size() > 0 {
- was := d.queue.hashPool.Size()
- fmt.Println("it was =", was)
availablePeers := d.peers.get(idleState)
for _, peer := range availablePeers {
// Get a possible chunk. If nil is returned no chunk
@@ -305,7 +303,6 @@ out:
d.queue.put(chunk.hashes)
}
}
- fmt.Println("it is =", d.queue.hashPool.Size())
// make sure that we have peers available for fetching. If all peers have been tried
// and all failed throw an error