Clean up and fix account adding
As per BIP44, 20 addresses are checked for transactions, not just the first one. Show the last account only if used or named. If all accounts are used, prompt for password to create new one. Fixes #1128
This commit is contained in:
@@ -178,6 +178,4 @@ class Synchronizer(ThreadJob):
|
||||
up_to_date = self.is_up_to_date()
|
||||
if up_to_date != self.wallet.is_up_to_date():
|
||||
self.wallet.set_up_to_date(up_to_date)
|
||||
if up_to_date:
|
||||
self.wallet.save_transactions(write=True)
|
||||
self.network.trigger_callback('updated')
|
||||
|
||||
Reference in New Issue
Block a user