1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-02-02 10:51:06 +00:00

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.
This commit is contained in:
Tomas Susanka 2019-11-11 10:39:05 +00:00
parent 07cdebeb9b
commit 597277725e

View File

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