commit b5d129b09ae73f05aa44ce1dfc84ab50d0aa4555
parent 8e181e0dec9c01a13b78dae1909be4f3633a89b9
Author: ThomasV <thomasv@electrum.org>
Date: Sun, 28 Aug 2016 22:33:51 +0200
Merge pull request #1910 from btchip/ledger-nanos
Fix setup for Nano S firmware version < 1.2
Diffstat:
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/plugins/ledger/ledger.py b/plugins/ledger/ledger.py
@@ -450,9 +450,6 @@ class LedgerPlugin(HW_PluginBase):
dev.open_path(device.path)
dev.set_nonblocking(True)
return HIDDongleHIDAPI(dev, ledger, BTCHIP_DEBUG)
-
- def verify_btchip_pin(self):
- pass
def create_client(self, device, handler):
self.handler = handler
@@ -468,7 +465,8 @@ class LedgerPlugin(HW_PluginBase):
client = devmgr.client_by_id(device_id)
#client.handler = wizard
client.handler = self.create_handler(wizard)
- client.get_xpub('m')
+ #client.get_xpub('m')
+ client.get_xpub("m/44'/0'") # TODO replace by direct derivation once Nano S > 1.1
def get_xpub(self, device_id, derivation, wizard):
devmgr = self.device_manager()