twallet: default to get_addresses() in get_history() - electrum - Electrum Bitcoin wallet
 (HTM) git clone https://git.parazyd.org/electrum
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) Submodules
       ---
 (DIR) commit 8e6904c7b70f8ec4e4f12f440237d1bf8414c104
 (DIR) parent 7618693ca95b69d1529845019df9c02d4da475d4
 (HTM) Author: SomberNight <somber.night@protonmail.com>
       Date:   Wed, 20 Feb 2019 17:52:43 +0100
       
       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())
       
       Diffstat:
         M electrum/address_synchronizer.py    |       2 +-
       
       1 file changed, 1 insertion(+), 1 deletion(-)
       ---
 (DIR) diff --git a/electrum/address_synchronizer.py b/electrum/address_synchronizer.py
       t@@ -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