From 9ace6dbb99d743aa7e151aef786b25d3b6f8fc86 Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Wed, 14 Mar 2018 12:52:11 +0100 Subject: [PATCH] src/apps/wallet: remove unused import in sign_identity --- src/apps/wallet/sign_identity.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/apps/wallet/sign_identity.py b/src/apps/wallet/sign_identity.py index 7904d4192a..54b38a9caf 100644 --- a/src/apps/wallet/sign_identity.py +++ b/src/apps/wallet/sign_identity.py @@ -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)