|
|
|
@ -86,6 +86,8 @@ class Plugin(BasePlugin): |
|
|
|
|
|
|
|
|
|
|
|
@hook |
|
|
|
@hook |
|
|
|
def installwizard_restore(self, wizard, storage): |
|
|
|
def installwizard_restore(self, wizard, storage): |
|
|
|
|
|
|
|
if storage.get('wallet_type') != 'btchip': |
|
|
|
|
|
|
|
return |
|
|
|
wallet = BTChipWallet(storage) |
|
|
|
wallet = BTChipWallet(storage) |
|
|
|
try: |
|
|
|
try: |
|
|
|
wallet.create_main_account(None) |
|
|
|
wallet.create_main_account(None) |
|
|
|
|