tfix #2347 and return indentation - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit db13cf965ccecee7c3bc851ce5d2c861e509efd0 DIR parent 31fc9b78af8e0c3f849fc0d4e631d0739bf07ebd HTML Author: ThomasV <thomasv@electrum.org> Date: Sun, 2 Apr 2017 04:36:05 +0200 fix #2347 and return indentation Diffstat: M lib/network.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- DIR diff --git a/lib/network.py b/lib/network.py t@@ -779,12 +779,12 @@ class Network(util.DaemonThread): '''Handle receiving a single block header''' # close connection if header does not pass checkpoint if not self.blockchain.pass_checkpoint(response['result']): - if interface == self.interface and not auto_connect: + if interface == self.interface and not self.auto_connect: interface.failed_checkpoint = True else: interface.print_error("header did not pass checkpoint, dismissing interface") self.connection_down(interface.server) - return + return if self.blockchain.downloading_headers: return if self.bc_requests: