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
No known key found for this signature in database
GPG Key ID: B33B5F232C6271E9
1 changed files with
1 additions and
1 deletions
-
electrum/address_synchronizer.py
|
@ -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 |
|
|