Skip to content

Commit 8e6904c

Browse files
committed
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())
1 parent 7618693 commit 8e6904c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

electrum/address_synchronizer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@ def f(self, *args, **kwargs):
499499
def get_history(self, domain=None):
500500
# get domain
501501
if domain is None:
502-
domain = self.history.keys()
502+
domain = self.get_addresses()
503503
domain = set(domain)
504504
# 1. Get the history of each address in the domain, maintain the
505505
# delta of a tx as the sum of its deltas on domain addresses

0 commit comments

Comments
 (0)