1
0

device manager: remove seemingly unused parameter

This commit is contained in:
ThomasV
2016-08-23 10:36:20 +02:00
parent 63ebf7772e
commit 0520eda628
3 changed files with 8 additions and 9 deletions

View File

@@ -178,7 +178,7 @@ class TrezorCompatiblePlugin(HW_PluginBase):
language = 'english'
devmgr = self.device_manager()
client = devmgr.client_by_id(device_id, handler)
client = devmgr.client_by_id(device_id)
if method == TIM_NEW:
strength = 64 * (item + 2) # 128, 192 or 256
@@ -209,8 +209,7 @@ class TrezorCompatiblePlugin(HW_PluginBase):
device_id = device_info.device.id_
if not device_info.initialized:
self.initialize_device(device_id, wizard, handler)
client = devmgr.client_by_id(device_id, handler)
client = devmgr.client_by_id(device_id)
client.used()
return client.get_xpub(derivation)