Browse Source

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())
sqlite_db
SomberNight 6 years ago
parent
commit
8e6904c7b7
No known key found for this signature in database GPG Key ID: B33B5F232C6271E9
  1. 2
      electrum/address_synchronizer.py

2
electrum/address_synchronizer.py

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

Loading…
Cancel
Save