1
0

wizard: fix regression: unencrypted wallets were not getting upgraded

fixes #5177
This commit is contained in:
SomberNight
2019-03-04 17:23:43 +01:00
parent bf1c1c2a11
commit 12b98fa251
7 changed files with 25 additions and 6 deletions

View File

@@ -219,6 +219,8 @@ class WalletStorage(PrintError):
self.db.set_modified(True)
def requires_upgrade(self):
if not self.is_past_initial_decryption():
raise Exception("storage not yet decrypted!")
return self.db.requires_upgrade()
def upgrade(self):