fix #4198
This commit is contained in:
@@ -108,8 +108,11 @@ class Synchronizer(ThreadJob):
|
|||||||
if not params:
|
if not params:
|
||||||
return
|
return
|
||||||
addr = params[0]
|
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))
|
self.print_error("receiving history", addr, len(result))
|
||||||
server_status = self.requested_histories[addr]
|
|
||||||
hashes = set(map(lambda item: item['tx_hash'], result))
|
hashes = set(map(lambda item: item['tx_hash'], result))
|
||||||
hist = list(map(lambda item: (item['tx_hash'], item['height']), result))
|
hist = list(map(lambda item: (item['tx_hash'], item['height']), result))
|
||||||
# tx_fees
|
# tx_fees
|
||||||
|
|||||||
Reference in New Issue
Block a user