ledger: workaround to avoid on-device warning for unusual der path
related: #6512
This commit is contained in:
@@ -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):
|
||||||
|
|||||||
Reference in New Issue
Block a user