From 8e6904c7b70f8ec4e4f12f440237d1bf8414c104 Mon Sep 17 00:00:00 2001 From: SomberNight Date: Wed, 20 Feb 2019 17:52:43 +0100 Subject: [PATCH] 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()) --- electrum/address_synchronizer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/electrum/address_synchronizer.py b/electrum/address_synchronizer.py index 5d3e4558d..c5ca4feac 100644 --- a/electrum/address_synchronizer.py +++ b/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