tfollow-up 3d4c64f9e - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 8b0db38f8740d2c81baf4ae0bcd8caefcc1bf46a DIR parent f1ab3b6097287dfe21bdd56594554d1fa3658a75 HTML Author: ThomasV <thomasv@electrum.org> Date: Wed, 13 Sep 2017 14:54:52 +0200 follow-up 3d4c64f9e Diffstat: M lib/network.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- DIR diff --git a/lib/network.py b/lib/network.py t@@ -890,7 +890,8 @@ class Network(util.DaemonThread): self.notify('updated') elif interface.mode == 'default': - if not ok: + can_connect = interface.blockchain.can_connect(header) + if not can_connect: interface.print_error("default: cannot connect %d"% height) interface.mode = 'backward' interface.bad = height