Removed debug println

This commit is contained in:
obscuren 2015-04-19 13:32:09 +02:00
parent 3d497be9bd
commit cce4158cfc
1 changed files with 0 additions and 3 deletions

View File

@ -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