You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
402 B
14 lines
402 B
from electrum.plugins import hook |
|
from .keepkey import KeepKeyPlugin |
|
from ..hw_wallet import CmdLineHandler |
|
|
|
class Plugin(KeepKeyPlugin): |
|
handler = CmdLineHandler() |
|
@hook |
|
def init_keystore(self, keystore): |
|
if not isinstance(keystore, self.keystore_class): |
|
return |
|
keystore.handler = self.handler |
|
|
|
def create_handler(self, window): |
|
return self.handler
|
|
|