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

core/recovery: end dry run before showing success

updates #815
This commit is contained in:
Tomas Susanka 2020-01-31 13:52:33 +00:00
parent e8ab0d515b
commit 277e494ffa

View File

@ -117,10 +117,10 @@ async def _finish_recovery_dry_run(
== storage.recovery.get_slip39_iteration_exponent() == storage.recovery.get_slip39_iteration_exponent()
) )
await layout.show_dry_run_result(ctx, result, is_slip39)
storage.recovery.end_progress() storage.recovery.end_progress()
await layout.show_dry_run_result(ctx, result, is_slip39)
if result: if result:
return Success("The seed is valid and matches the one in the device") return Success("The seed is valid and matches the one in the device")
else: else: