Browse Source

ledger: workaround to avoid on-device warning for unusual der path

related: #6512
patch-4
SomberNight 4 years ago
parent
commit
e60aede77e
No known key found for this signature in database GPG Key ID: B33B5F232C6271E9
  1. 2
      electrum/plugins/ledger/ledger.py

2
electrum/plugins/ledger/ledger.py

@ -644,7 +644,7 @@ class LedgerPlugin(HW_PluginBase):
device_id = device_info.device.id_ device_id = device_info.device.id_
client = self.scan_and_create_client_for_device(device_id=device_id, wizard=wizard) client = self.scan_and_create_client_for_device(device_id=device_id, wizard=wizard)
wizard.run_task_without_blocking_gui( wizard.run_task_without_blocking_gui(
task=lambda: client.get_xpub("m/44'/0'", 'standard')) # TODO replace by direct derivation once Nano S > 1.1 task=lambda: client.get_xpub("m/0'", 'standard')) # TODO replace by direct derivation once Nano S > 1.1
return client return client
def get_xpub(self, device_id, derivation, xtype, wizard): def get_xpub(self, device_id, derivation, xtype, wizard):

Loading…
Cancel
Save