mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-02-05 04:10:58 +00:00
core/recovery: fix Info button when the threshold was reached (#566)
(cherry picked from commit 6c6bd44ee8
)
This commit is contained in:
parent
b08a2393c0
commit
bd876b31a3
@ -227,7 +227,7 @@ async def _show_remaining_groups_and_shares(ctx: wire.Context) -> None:
|
||||
|
||||
share = None
|
||||
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:
|
||||
share = slip39.decode_mnemonic(m)
|
||||
|
Loading…
Reference in New Issue
Block a user