1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-26 16:18:22 +00:00

apps.wallet: fix sign_identity

This commit is contained in:
Jan Pochyla 2017-08-15 16:01:54 +02:00
parent bc9beaf5d8
commit 1cdfac000a

View File

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