electrum

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

commit 40e13224f7cf485c051a07943306f0c99ab17272
parent d1b8a6fae6d44e78c8093b01321f8d430442b687
Author: ThomasV <thomasv@electrum.org>
Date:   Tue, 12 Dec 2017 10:48:05 +0100

follow-up d1b8a6fae6d44e78c8093b01321f8d430442b687

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

diff --git a/lib/network.py b/lib/network.py @@ -804,12 +804,13 @@ class Network(util.DaemonThread): interface.print_error("unsolicited header",interface.request, height) self.connection_down(interface.server) return - can_connect = blockchain.can_connect(header) chain = blockchain.check_header(header) if interface.mode == 'backward': + can_connect = blockchain.can_connect(header) if can_connect and can_connect.catch_up is None: interface.mode = 'catch_up' interface.blockchain = can_connect + interface.blockchain.save_header(header) next_height = height + 1 interface.blockchain.catch_up = interface.server elif chain: