From 78e37e98e77b467e6950922da4ea99ff146ab21f Mon Sep 17 00:00:00 2001
From: obscuren <geffobscura@gmail.com>
Date: Sat, 18 Apr 2015 19:14:25 +0200
Subject: [PATCH] downloader: fixed a race condition for download status

---
 eth/downloader/downloader.go | 1 -
 1 file changed, 1 deletion(-)

diff --git a/eth/downloader/downloader.go b/eth/downloader/downloader.go
index 6dce40b04..290e3b474 100644
--- a/eth/downloader/downloader.go
+++ b/eth/downloader/downloader.go
@@ -293,7 +293,6 @@ out:
 						d.queue.put(chunk.hashes)
 					}
 				}
-				atomic.StoreInt32(&d.downloadingBlocks, 1)
 			} else if len(d.queue.fetching) == 0 {
 				// When there are no more queue and no more `fetching`. We can
 				// safely assume we're done. Another part of the process will  check
-- 
GitLab