wallet: default to get_addresses() in get_history()

get_addresses() is a superset of history.keys()
(was missing some local transactions in the output of get_history())
This commit is contained in:
SomberNight 2019-02-20 17:52:43 +01:00
parent 7618693ca9
commit 8e6904c7b7
No known key found for this signature in database
GPG key ID: B33B5F232C6271E9

View file

@ -499,7 +499,7 @@ class AddressSynchronizer(PrintError):
def get_history(self, domain=None):
# get domain
if domain is None:
domain = self.history.keys()
domain = self.get_addresses()
domain = set(domain)
# 1. Get the history of each address in the domain, maintain the
# delta of a tx as the sum of its deltas on domain addresses