electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 8b0db38f8740d2c81baf4ae0bcd8caefcc1bf46a
parent f1ab3b6097287dfe21bdd56594554d1fa3658a75
Author: ThomasV <thomasv@electrum.org>
Date:   Wed, 13 Sep 2017 14:54:52 +0200

follow-up 3d4c64f9e

Diffstat:
Mlib/network.py | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/network.py b/lib/network.py @@ -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