1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-18 12:28:09 +00:00

src/apps/management: delay flag setting by one step in backup

This commit is contained in:
Pavol Rusnak 2018-03-02 16:47:54 +01:00
parent 1b8217ca66
commit a697d482bf

View File

@ -14,10 +14,11 @@ async def backup_device(ctx, msg):
mnemonic = storage.get_mnemonic()
storage.set_backed_up()
# warn user about mnemonic safety
await show_warning(ctx)
storage.set_backed_up()
while True:
# show mnemonic and require confirmation of a random word
await show_mnemonic(ctx, mnemonic)