mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-23 17:47:31 +00:00
11 lines
332 B
Python
11 lines
332 B
Python
from electrum.plugins import hook
|
|
from .trezor import TrezorPlugin
|
|
from ..hw_wallet import CmdLineHandler
|
|
|
|
class Plugin(TrezorPlugin):
|
|
handler = CmdLineHandler()
|
|
@hook
|
|
def init_keystore(self, keystore):
|
|
if not isinstance(keystore, self.keystore_class):
|
|
return
|
|
keystore.handler = self.handler
|