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:
parent
07cdebeb9b
commit
597277725e
@ -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")
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user