Browse Source

network: connection_down if interface fails to connect chunk

2.9.x
ThomasV 8 years ago
parent
commit
72706f8219
  1. 1
      lib/network.py

1
lib/network.py

@ -774,6 +774,7 @@ class Network(util.DaemonThread):
connect = interface.blockchain.connect_chunk(index, result)
# If not finished, get the next chunk
if not connect:
self.connection_down(interface.server)
return
if interface.blockchain.height() < interface.tip:
self.request_chunk(interface, index+1)

Loading…
Cancel
Save