Move hardware wallet to trezor/
On second thoughts it does go better there.
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
from electrum.wallet import BIP32_Hardware_Wallet
|
||||
|
||||
from plugins.trezor.client import trezor_client_class
|
||||
from plugins.trezor.plugin import TrezorCompatiblePlugin
|
||||
from plugins.trezor.plugin import TrezorCompatiblePlugin, TrezorCompatibleWallet
|
||||
|
||||
try:
|
||||
from trezorlib.client import proto, BaseClient, ProtocolMixin
|
||||
@@ -10,9 +8,8 @@ except ImportError:
|
||||
TREZOR = False
|
||||
|
||||
|
||||
class TrezorWallet(BIP32_Hardware_Wallet):
|
||||
class TrezorWallet(TrezorCompatibleWallet):
|
||||
wallet_type = 'trezor'
|
||||
root_derivation = "m/44'/0'"
|
||||
device = 'Trezor'
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user