diff options
author | obscuren <geffobscura@gmail.com> | 2014-10-02 07:36:59 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-10-02 07:36:59 +0800 |
commit | a34a971b508e1bc1fbeb3c2d02cbb8686d2491d8 (patch) | |
tree | 9236dd9464bbf17b582cbf122b1f9eeeb288cc66 /block_pool.go | |
parent | 5fa0173c4147baee54ad1846a23cd4410c50420b (diff) | |
download | go-tangerine-a34a971b508e1bc1fbeb3c2d02cbb8686d2491d8.tar.gz go-tangerine-a34a971b508e1bc1fbeb3c2d02cbb8686d2491d8.tar.zst go-tangerine-a34a971b508e1bc1fbeb3c2d02cbb8686d2491d8.zip |
improved blockchain downloading
Diffstat (limited to 'block_pool.go')
-rw-r--r-- | block_pool.go | 4 |
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) |