mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-09-02 18:25:21 +00:00
restore: call constructor to load plugin
This commit is contained in:
parent
5ffd26402e
commit
179e98b303
1 changed files with 4 additions and 1 deletions
|
@ -451,9 +451,12 @@ class InstallWizard(QDialog):
|
|||
wallet = Wallet.from_multisig(key_list, password, self.storage)
|
||||
|
||||
else:
|
||||
self.storage.put('wallet_type', t)
|
||||
self.storage.put('wallet_type', t, False)
|
||||
# call the constructor to load the plugin (side effect)
|
||||
Wallet(self.storage)
|
||||
wallet = always_hook('installwizard_restore', self, self.storage)
|
||||
if not wallet:
|
||||
util.print_error("no wallet")
|
||||
return
|
||||
|
||||
# create first keys offline
|
||||
|
|
Loading…
Add table
Reference in a new issue