mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-22 15:38:11 +00:00
core/recovery: fix Info button when the threshold was reached (#566)
This commit is contained in:
parent
aaf22d03e9
commit
6c6bd44ee8
@ -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