From 51bf0dde12599b82e18f871828ac00961a12f4f1 Mon Sep 17 00:00:00 2001 From: Tomas Susanka Date: Tue, 24 Sep 2019 11:23:27 +0200 Subject: [PATCH] core/recovery: fix Info dialog closes #562 --- core/src/apps/management/recovery_device/homescreen.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/apps/management/recovery_device/homescreen.py b/core/src/apps/management/recovery_device/homescreen.py index 9b72f52162..3826dff420 100644 --- a/core/src/apps/management/recovery_device/homescreen.py +++ b/core/src/apps/management/recovery_device/homescreen.py @@ -215,10 +215,10 @@ 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: + m = storage.recovery_shares.fetch_group(i)[0] if not share: - m = storage.recovery_shares.fetch_group(i)[0] share = slip39.decode_mnemonic(m) - identifier = mnemonic.split(" ")[0:3] + identifier = m.split(" ")[0:3] identifiers.append([r, identifier]) elif r == slip39.MAX_SHARE_COUNT: identifier = storage.recovery_shares.fetch_group(first_entered_index)[