This commit is contained in:
SomberNight 2018-04-05 12:52:21 +02:00
parent d2a1179087
commit e4dad0a425
No known key found for this signature in database
GPG key ID: B33B5F232C6271E9

View file

@ -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