1
0

Merge pull request #5118 from SomberNight/trezor_init_20190213

Trezor: implement "seedless" mode
This commit is contained in:
ghost43
2019-02-22 18:59:52 +01:00
committed by GitHub
4 changed files with 91 additions and 37 deletions

View File

@@ -206,6 +206,8 @@ class KeepKeyPlugin(HW_PluginBase):
language = 'english'
devmgr = self.device_manager()
client = devmgr.client_by_id(device_id)
if not client:
raise Exception(_("The device was disconnected."))
if method == TIM_NEW:
strength = 64 * (item + 2) # 128, 192 or 256