1
0

text gui: fix WalletDB

This commit is contained in:
ThomasV
2023-09-30 09:34:34 +02:00
parent cf4590bee3
commit 9ebae958dc

View File

@@ -60,7 +60,7 @@ class ElectrumGui(BaseElectrumGui, EventListener):
if storage.is_encrypted():
password = getpass.getpass('Password:', stream=None)
storage.decrypt(password)
db = WalletDB(storage.read(), storage=storage, manual_upgrades=False)
db = WalletDB(storage.read(), storage=storage, upgrade=True)
self.wallet = Wallet(db, config=config) # type: Optional[Abstract_Wallet]
self.wallet.start_network(self.network)
self.contacts = self.wallet.contacts