Notify when a chunk of headers is validated
And a couple of cosmetic changes. This should fix #1379.
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user