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

core/recovery: fix type signature of _process_words

(cherry picked from commit 02ee0b63c0)
This commit is contained in:
matejcik 2019-09-24 14:07:08 +02:00 committed by Tomas Susanka
parent 040e89d3c9
commit 8862f33eba

View File

@ -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)