From 597277725ea4a0072eb70820b417ab1f1f4709b9 Mon Sep 17 00:00:00 2001 From: Tomas Susanka Date: Mon, 11 Nov 2019 10:39:05 +0000 Subject: [PATCH] core/recovery: end progress before showing success This fixes #695. This was the default behaviour but we have changed it because of Wallet, which was doing the polling. Since Wallet can now send RecoveryDevice again and acquire Context this is no more needed. --- 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 46ea3064bf..beb959e4ff 100644 --- a/core/src/apps/management/recovery_device/homescreen.py +++ b/core/src/apps/management/recovery_device/homescreen.py @@ -146,9 +146,9 @@ async def _finish_recovery( storage_device.set_slip39_identifier(identifier) storage_device.set_slip39_iteration_exponent(exponent) - await show_success(ctx, ("You have successfully", "recovered your wallet.")) - storage_recovery.end_progress() + + await show_success(ctx, ("You have successfully", "recovered your wallet.")) return Success(message="Device recovered")