electrum

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

commit e4dad0a42565a32824e8202c27e9f7b19ac790ed
parent d2a1179087f89fc121b0ca998bc052734ad87417
Author: SomberNight <somber.night@protonmail.com>
Date:   Thu,  5 Apr 2018 12:52:21 +0200

fix #4198

Diffstat:
Mlib/synchronizer.py | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/lib/synchronizer.py b/lib/synchronizer.py @@ -108,8 +108,11 @@ class Synchronizer(ThreadJob): if not params: return addr = params[0] + server_status = self.requested_histories.get(addr) + if server_status is None: + self.print_error("receiving history (unsolicited)", addr, len(result)) + return self.print_error("receiving history", addr, len(result)) - server_status = self.requested_histories[addr] hashes = set(map(lambda item: item['tx_hash'], result)) hist = list(map(lambda item: (item['tx_hash'], item['height']), result)) # tx_fees