1
0

address_synchronizer fixes

is_mine: wallet expects get_address_index to work
imported wallets: history did not include addr keys after creation
deterministic wallets: get_addresses() should be sorted in derivation order
This commit is contained in:
SomberNight
2018-07-19 18:16:23 +02:00
parent 801d3113ab
commit 597295e359
2 changed files with 32 additions and 9 deletions

View File

@@ -67,6 +67,10 @@ class AddressSynchronizer(PrintError):
self.unverified_tx = defaultdict(int)
# true when synchronized
self.up_to_date = False
self.load_and_cleanup()
def load_and_cleanup(self):
self.load_transactions()
self.load_local_history()
self.check_history()