1
0

Notify when a chunk of headers is validated

And a couple of cosmetic changes.
This should fix #1379.
This commit is contained in:
Neil Booth
2015-08-25 14:27:53 +09:00
parent f9ab33592f
commit a056f9804b
3 changed files with 5 additions and 3 deletions

View File

@@ -590,6 +590,7 @@ class Network(util.DaemonThread):
# If not finished, get the next chunk
if idx < 0 or self.get_local_height() >= data['if_height']:
self.bc_requests.popleft()
self.notify('updated')
else:
self.request_chunk(interface, data, idx)