Browse Source

keepkey: fix TIM_RECOVER restore method

follow-up 8be3c4dadd
related: https://github.com/spesmilo/electrum/pull/8560#discussion_r1329127300
master
SomberNight 2 years ago
parent
commit
0a3dd8e5e5
No known key found for this signature in database
GPG Key ID: B33B5F232C6271E9
  1. 2
      electrum/plugins/keepkey/keepkey.py

2
electrum/plugins/keepkey/keepkey.py

@ -211,7 +211,7 @@ class KeepKeyPlugin(HW_PluginBase):
client.reset_device(True, strength, passphrase_protection,
pin_protection, label, language)
elif method == TIM_RECOVER:
word_count = 6 * (item + 2) # 12, 18 or 24
word_count = 24 # looks like this value is ignored by the device, but it has to be one of {12,18,24}
client.step = 0
client.recovery_device(word_count, passphrase_protection,
pin_protection, label, language)

Loading…
Cancel
Save