mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-23 17:47:31 +00:00
support for restore
This commit is contained in:
parent
ec295d1fbe
commit
8a7f81a9de
1 changed files with 5 additions and 0 deletions
|
@ -49,6 +49,11 @@ class Plugin(BasePlugin):
|
|||
def add_wallet_types(self, wallet_types):
|
||||
wallet_types.append(('trezor', _("Trezor wallet"), TrezorWallet))
|
||||
|
||||
def installwizard_restore(self, wizard, storage):
|
||||
wallet = TrezorWallet(storage)
|
||||
wallet.create_accounts(None)
|
||||
return wallet
|
||||
|
||||
def send_tx(self, tx, wallet):
|
||||
try:
|
||||
wallet.sign_transaction(tx, None, None)
|
||||
|
|
Loading…
Add table
Reference in a new issue