From 1cdfac000acfcdff5078d50b7b27effb60e9cf2f Mon Sep 17 00:00:00 2001 From: Jan Pochyla Date: Tue, 15 Aug 2017 16:01:54 +0200 Subject: [PATCH] apps.wallet: fix sign_identity --- src/apps/wallet/sign_identity.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/apps/wallet/sign_identity.py b/src/apps/wallet/sign_identity.py index fe8ab5e463..d653f454ac 100644 --- a/src/apps/wallet/sign_identity.py +++ b/src/apps/wallet/sign_identity.py @@ -1,5 +1,3 @@ -from typing import List - from trezor import ui from trezor.utils import unimport @@ -27,7 +25,7 @@ def display_identity(identity: str, challenge_visual: str): ui.display.text(10, 80, identity, ui.MONO, ui.WHITE, ui.BLACK) -def get_identity_path(identity: str, index: int) -> List[int]: +def get_identity_path(identity: str, index: int): from ustruct import pack, unpack from trezor.crypto.hashlib import sha256