|
@ -961,6 +961,8 @@ class Network(util.DaemonThread): |
|
|
except Exception: |
|
|
except Exception: |
|
|
self.print_error("download failed. creating file", filename) |
|
|
self.print_error("download failed. creating file", filename) |
|
|
open(filename, 'wb+').close() |
|
|
open(filename, 'wb+').close() |
|
|
|
|
|
b = self.blockchains[0] |
|
|
|
|
|
with b.lock: b.update_size() |
|
|
self.downloading_headers = False |
|
|
self.downloading_headers = False |
|
|
self.downloading_headers = True |
|
|
self.downloading_headers = True |
|
|
t = threading.Thread(target = download_thread) |
|
|
t = threading.Thread(target = download_thread) |
|
|