improved blockchain downloading

This commit is contained in:
obscuren
2014-10-02 01:36:59 +02:00
parent 5fa0173c41
commit a34a971b50
2 changed files with 42 additions and 37 deletions

View File

@ -217,9 +217,7 @@ out:
}
})
if !self.fetchingHashes && len(self.hashPool) > 0 {
self.DistributeHashes()
}
self.DistributeHashes()
if self.ChainLength < len(self.hashPool) {
self.ChainLength = len(self.hashPool)