Browse Source

fix hw_type

283
ThomasV 8 years ago
parent
commit
eb60e0d2e0
  1. 2
      plugins/keepkey/keepkey.py
  2. 1
      plugins/trezor/plugin.py
  3. 2
      plugins/trezor/trezor.py

2
plugins/keepkey/keepkey.py

@ -2,7 +2,7 @@ from ..trezor.plugin import TrezorCompatiblePlugin, TrezorCompatibleKeyStore
class KeepKey_KeyStore(TrezorCompatibleKeyStore):
wallet_type = 'keepkey'
hw_type = 'keepkey'
device = 'KeepKey'

1
plugins/trezor/plugin.py

@ -20,7 +20,6 @@ from ..hw_wallet import HW_PluginBase
TIM_NEW, TIM_RECOVER, TIM_MNEMONIC, TIM_PRIVKEY = range(0, 4)
class TrezorCompatibleKeyStore(Hardware_KeyStore):
hw_type = 'trezor'
def get_derivation(self):
return self.derivation

2
plugins/trezor/trezor.py

@ -2,7 +2,7 @@ from .plugin import TrezorCompatiblePlugin, TrezorCompatibleKeyStore
class TrezorKeyStore(TrezorCompatibleKeyStore):
wallet_type = 'trezor'
hw_type = 'trezor'
device = 'TREZOR'
class TrezorPlugin(TrezorCompatiblePlugin):

Loading…
Cancel
Save