From 72706f8219fa10e48fc0029113735f6600df519a Mon Sep 17 00:00:00 2001 From: ThomasV Date: Fri, 4 Aug 2017 15:34:23 +0200 Subject: [PATCH] network: connection_down if interface fails to connect chunk --- lib/network.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/network.py b/lib/network.py index 1a45c313..6cf68aff 100644 --- a/lib/network.py +++ b/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)