From 8862f33eba633afc890a39f89ec01792edff0290 Mon Sep 17 00:00:00 2001 From: matejcik Date: Tue, 24 Sep 2019 14:07:08 +0200 Subject: [PATCH] core/recovery: fix type signature of _process_words (cherry picked from commit 02ee0b63c087086f42ec8e240950c583cc1813fb) --- core/src/apps/management/recovery_device/homescreen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/apps/management/recovery_device/homescreen.py b/core/src/apps/management/recovery_device/homescreen.py index 4d4252b7cf..b8fef05117 100644 --- a/core/src/apps/management/recovery_device/homescreen.py +++ b/core/src/apps/management/recovery_device/homescreen.py @@ -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)