Browse Source

fix: wallet storage upgrade happening silently even when using QT GUI

3.0.x
SomberNight 7 years ago
parent
commit
115ef54c0c
  1. 2
      gui/qt/__init__.py
  2. 2
      lib/daemon.py

2
gui/qt/__init__.py

@ -192,7 +192,7 @@ class ElectrumGui:
d.exec_()
return
if not wallet:
storage = WalletStorage(path)
storage = WalletStorage(path, manual_upgrades=True)
wizard = InstallWizard(self.config, self.app, self.plugins, storage)
try:
wallet = wizard.run_and_get_wallet()

2
lib/daemon.py

@ -220,7 +220,7 @@ class Daemon(DaemonThread):
if storage.requires_split():
return
if storage.requires_upgrade():
storage.upgrade()
return
if storage.get_action():
return
wallet = Wallet(storage)

Loading…
Cancel
Save