mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-29 08:21:27 +00:00
update history before raising exception
This commit is contained in:
parent
3bfe0fb532
commit
f84b7eb3a8
1 changed files with 3 additions and 2 deletions
|
@ -433,14 +433,15 @@ class Wallet:
|
||||||
self.addressbook = d.get('contacts')
|
self.addressbook = d.get('contacts')
|
||||||
except:
|
except:
|
||||||
raise BaseException("Error; could not parse wallet. If this is an old wallet format, please use upgrade.py.",0)
|
raise BaseException("Error; could not parse wallet. If this is an old wallet format, please use upgrade.py.",0)
|
||||||
|
|
||||||
|
self.update_tx_history()
|
||||||
|
|
||||||
if self.seed_version != SEED_VERSION:
|
if self.seed_version != SEED_VERSION:
|
||||||
raise BaseException("""Seed version mismatch: your wallet seed is deprecated.
|
raise BaseException("""Seed version mismatch: your wallet seed is deprecated.
|
||||||
Please create a new wallet, and send your coins to the new wallet.
|
Please create a new wallet, and send your coins to the new wallet.
|
||||||
We apologize for the inconvenience. We try to keep this kind of upgrades as rare as possible.
|
We apologize for the inconvenience. We try to keep this kind of upgrades as rare as possible.
|
||||||
See the release notes for more information.""",1)
|
See the release notes for more information.""",1)
|
||||||
|
|
||||||
|
|
||||||
self.update_tx_history()
|
|
||||||
return True
|
return True
|
||||||
|
|
||||||
def get_new_address(self):
|
def get_new_address(self):
|
||||||
|
|
Loading…
Add table
Reference in a new issue