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