aboutsummaryrefslogtreecommitdiffstats
path: root/block_pool.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-10-02 07:36:59 +0800
committerobscuren <geffobscura@gmail.com>2014-10-02 07:36:59 +0800
commita34a971b508e1bc1fbeb3c2d02cbb8686d2491d8 (patch)
tree9236dd9464bbf17b582cbf122b1f9eeeb288cc66 /block_pool.go
parent5fa0173c4147baee54ad1846a23cd4410c50420b (diff)
downloaddexon-a34a971b508e1bc1fbeb3c2d02cbb8686d2491d8.tar
dexon-a34a971b508e1bc1fbeb3c2d02cbb8686d2491d8.tar.gz
dexon-a34a971b508e1bc1fbeb3c2d02cbb8686d2491d8.tar.bz2
dexon-a34a971b508e1bc1fbeb3c2d02cbb8686d2491d8.tar.lz
dexon-a34a971b508e1bc1fbeb3c2d02cbb8686d2491d8.tar.xz
dexon-a34a971b508e1bc1fbeb3c2d02cbb8686d2491d8.tar.zst
dexon-a34a971b508e1bc1fbeb3c2d02cbb8686d2491d8.zip
improved blockchain downloading
Diffstat (limited to 'block_pool.go')
-rw-r--r--block_pool.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/block_pool.go b/block_pool.go
index 2dbe11069..f5c53b9f7 100644
--- a/block_pool.go
+++ b/block_pool.go
@@ -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)