keepkey: fix TIM_RECOVER restore method
follow-up 8be3c4dadd
related: https://github.com/spesmilo/electrum/pull/8560#discussion_r1329127300
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user