mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-11 07:50:57 +00:00
Merge pull request #563 from trezor/tsusanka/562-fix-info-btn
core/recovery: fix Info dialog
This commit is contained in:
commit
7f959250e7
@ -215,10 +215,10 @@ async def _show_remaining_groups_and_shares(ctx: wire.Context) -> None:
|
|||||||
share = None
|
share = None
|
||||||
for i, r in enumerate(shares_remaining):
|
for i, r in enumerate(shares_remaining):
|
||||||
if 0 < r < slip39.MAX_SHARE_COUNT:
|
if 0 < r < slip39.MAX_SHARE_COUNT:
|
||||||
|
m = storage.recovery_shares.fetch_group(i)[0]
|
||||||
if not share:
|
if not share:
|
||||||
m = storage.recovery_shares.fetch_group(i)[0]
|
|
||||||
share = slip39.decode_mnemonic(m)
|
share = slip39.decode_mnemonic(m)
|
||||||
identifier = mnemonic.split(" ")[0:3]
|
identifier = m.split(" ")[0:3]
|
||||||
identifiers.append([r, identifier])
|
identifiers.append([r, identifier])
|
||||||
elif r == slip39.MAX_SHARE_COUNT:
|
elif r == slip39.MAX_SHARE_COUNT:
|
||||||
identifier = storage.recovery_shares.fetch_group(first_entered_index)[
|
identifier = storage.recovery_shares.fetch_group(first_entered_index)[
|
||||||
|
Loading…
Reference in New Issue
Block a user