mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-13 19:18:56 +00:00
core/recovery: fix type signature of _process_words
This commit is contained in:
parent
1c53c2bdf2
commit
02ee0b63c0
@ -155,7 +155,7 @@ async def _request_word_count(ctx: wire.Context, dry_run: bool) -> int:
|
||||
|
||||
async def _process_words(
|
||||
ctx: wire.Context, words: str
|
||||
) -> Tuple[Optional[bytes], EnumTypeBackupType, int]:
|
||||
) -> Tuple[Optional[bytes], EnumTypeBackupType]:
|
||||
word_count = len(words.split(" "))
|
||||
is_slip39 = backup_types.is_slip39_word_count(word_count)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user