1
0
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:
Tomas Susanka 2019-09-24 16:10:09 +02:00
parent b08a2393c0
commit bd876b31a3

View File

@ -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)