tdon't use wizard as handler, it does not have all methods - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit 0f9fb49db77cd75014b7b19c34894c8b05c68cd5
DIR parent 3bc6fdaadb125ea353d09421c2819304d2fa2be2
HTML Author: ThomasV <thomasv@electrum.org>
Date: Thu, 25 Aug 2016 13:32:42 +0200
don't use wizard as handler, it does not have all methods
Diffstat:
M plugins/trezor/plugin.py | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
---
DIR diff --git a/plugins/trezor/plugin.py b/plugins/trezor/plugin.py
t@@ -205,11 +205,10 @@ class TrezorCompatiblePlugin(HW_PluginBase):
devmgr = self.device_manager()
device_id = device_info.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:
- handler = self.create_handler(wizard)
- client.handler = handler
- self.initialize_device(device_id, wizard, handler)
- client.handler = wizard
+ self.initialize_device(device_id, wizard, client.handler)
client.get_xpub('m')
client.used()