mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-28 16:01:30 +00:00
don't use wizard as handler, it does not have all methods
This commit is contained in:
parent
3bc6fdaadb
commit
0f9fb49db7
1 changed files with 3 additions and 4 deletions
|
@ -205,11 +205,10 @@ class TrezorCompatiblePlugin(HW_PluginBase):
|
||||||
devmgr = self.device_manager()
|
devmgr = self.device_manager()
|
||||||
device_id = device_info.device.id_
|
device_id = device_info.device.id_
|
||||||
client = devmgr.client_by_id(device_id)
|
client = devmgr.client_by_id(device_id)
|
||||||
|
# fixme: we should use: client.handler = wizard
|
||||||
|
client.handler = self.create_handler(wizard)
|
||||||
if not device_info.initialized:
|
if not device_info.initialized:
|
||||||
handler = self.create_handler(wizard)
|
self.initialize_device(device_id, wizard, client.handler)
|
||||||
client.handler = handler
|
|
||||||
self.initialize_device(device_id, wizard, handler)
|
|
||||||
client.handler = wizard
|
|
||||||
client.get_xpub('m')
|
client.get_xpub('m')
|
||||||
client.used()
|
client.used()
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue