mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-18 20:38:10 +00:00
src/apps/management: delay flag setting by one step in backup
This commit is contained in:
parent
1b8217ca66
commit
a697d482bf
@ -14,10 +14,11 @@ async def backup_device(ctx, msg):
|
|||||||
|
|
||||||
mnemonic = storage.get_mnemonic()
|
mnemonic = storage.get_mnemonic()
|
||||||
|
|
||||||
storage.set_backed_up()
|
|
||||||
|
|
||||||
# warn user about mnemonic safety
|
# warn user about mnemonic safety
|
||||||
await show_warning(ctx)
|
await show_warning(ctx)
|
||||||
|
|
||||||
|
storage.set_backed_up()
|
||||||
|
|
||||||
while True:
|
while True:
|
||||||
# show mnemonic and require confirmation of a random word
|
# show mnemonic and require confirmation of a random word
|
||||||
await show_mnemonic(ctx, mnemonic)
|
await show_mnemonic(ctx, mnemonic)
|
||||||
|
Loading…
Reference in New Issue
Block a user