electrum-bitcoinprivate/plugins/digitalbitbox/cmdline.py

11 lines
319 B
Python
Raw Normal View History

2017-08-27 20:30:56 -07:00
from .digitalbitbox import DigitalBitboxPlugin
from ..hw_wallet import CmdLineHandler
2016-12-28 13:49:09 -08:00
class Plugin(DigitalBitboxPlugin):
handler = CmdLineHandler()
@hook
def init_keystore(self, keystore):
if not isinstance(keystore, self.keystore_class):
return
keystore.handler = self.handler