1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-29 10:58:21 +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 import ui
from trezor.utils import unimport 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) 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 ustruct import pack, unpack
from trezor.crypto.hashlib import sha256 from trezor.crypto.hashlib import sha256