1
0

walletDB: replace 'manual_upgrades' parameter with 'upgrade', with opposite semantics

This commit is contained in:
ThomasV
2023-09-22 11:49:53 +02:00
parent b5bc5ff9ed
commit 68159b3ef6
12 changed files with 32 additions and 32 deletions

View File

@@ -587,7 +587,7 @@ class NewWalletWizard(AbstractWizard):
enc_version = StorageEncryptionVersion.XPUB_PASSWORD
storage.set_password(data['password'], enc_version=enc_version)
db = WalletDB('', storage=storage, manual_upgrades=False)
db = WalletDB('', storage=storage, upgrade=True)
db.set_keystore_encryption(bool(data['password']) and data['encrypt'])
db.put('wallet_type', data['wallet_type'])