fix: wallet storage upgrade happening silently even when using QT GUI
This commit is contained in:
parent
7e4e96e5eb
commit
115ef54c0c
|
@ -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()
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue