1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-18 20:38:10 +00:00

src/apps/wallet: remove unused import in sign_identity

This commit is contained in:
Pavol Rusnak 2018-03-14 12:52:11 +01:00
parent a93e745532
commit 9ace6dbb99
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

View File

@ -1,6 +1,5 @@
from trezor import ui
from trezor.crypto.hashlib import sha256
from trezor.messages.IdentityType import IdentityType
from trezor.messages.SignedIdentity import SignedIdentity
from ustruct import pack, unpack
from trezor.utils import chunks
@ -53,7 +52,7 @@ async def require_confirm_sign_identity(ctx, identity, challenge_visual):
lines.extend(chunks(serialize_identity_without_proto(identity), 18))
proto = identity.proto.upper() if identity.proto else 'identity'
header = 'Sign %s' % (proto,)
header = 'Sign %s' % proto
content = Text(header, ui.ICON_DEFAULT, *lines, max_lines=5)
await require_confirm(ctx, content)