mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-08-04 12:56:25 +00:00
src/apps/management: fix missing return true
This commit is contained in:
parent
8ac915e75f
commit
a13639997e
@ -185,6 +185,7 @@ async def check_mnemonic(ctx, mnemonic: str) -> bool:
|
|||||||
if not await check_word(ctx, words, index):
|
if not await check_word(ctx, words, index):
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
return True
|
||||||
|
|
||||||
@ui.layout
|
@ui.layout
|
||||||
async def check_word(ctx, words: list, index: int):
|
async def check_word(ctx, words: list, index: int):
|
||||||
|
Loading…
Reference in New Issue
Block a user