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

related: #6512
This commit is contained in:
SomberNight 2020-10-06 17:55:29 +02:00
parent 546c0e1bb6
commit e60aede77e
No known key found for this signature in database
GPG key ID: B33B5F232C6271E9

View file

@ -644,7 +644,7 @@ class LedgerPlugin(HW_PluginBase):
device_id = device_info.device.id_
client = self.scan_and_create_client_for_device(device_id=device_id, wizard=wizard)
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
def get_xpub(self, device_id, derivation, xtype, wizard):