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

This commit is contained in:
SomberNight 2017-11-02 12:11:36 +01:00
parent 7e4e96e5eb
commit 115ef54c0c
2 changed files with 2 additions and 2 deletions

View File

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

View File

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