1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-22 23:48:12 +00:00

apps: remove unused imports

This commit is contained in:
Jan Pochyla 2018-07-03 15:54:22 +02:00
parent 6751d84236
commit bf9f503c3c
10 changed files with 5 additions and 12 deletions

View File

@ -1,4 +1,3 @@
from trezor import ui
from trezor.crypto.hashlib import sha3_256
from trezor.utils import HashWriter
from trezor.messages.EthereumMessageSignature import EthereumMessageSignature

View File

@ -1,7 +1,6 @@
from ubinascii import hexlify
from trezor.crypto.curve import secp256k1
from trezor.crypto.hashlib import sha3_256
from trezor import ui
from trezor.ui.text import Text
from trezor.messages.Success import Success
from apps.common.confirm import require_confirm

View File

@ -55,7 +55,6 @@ async def handle_Ping(ctx, msg):
from apps.common.confirm import require_confirm
from trezor.messages.ButtonRequestType import ProtectCall
from trezor.ui.text import Text
from trezor import ui
await require_confirm(ctx, Text('Confirm'), ProtectCall)
if msg.passphrase_protection:
from apps.common.request_passphrase import protect_by_passphrase

View File

@ -2,7 +2,6 @@ from apps.common import seed
from apps.common.confirm import require_confirm
from apps.common.signverify import split_message
from apps.wallet.sign_tx.signing import write_varint
from trezor import ui
from trezor.crypto.curve import ed25519
from trezor.crypto.hashlib import sha256
from trezor.messages.LiskMessageSignature import LiskMessageSignature

View File

@ -1,4 +1,4 @@
from trezor import config, ui, wire
from trezor import config, wire
from trezor.crypto import bip39
from trezor.messages.Success import Success
from trezor.pin import pin_to_int

View File

@ -1,10 +1,9 @@
from trezor import ui, wire
from trezor import wire
from trezor.crypto import hmac
from trezor.crypto.aes import AES_CBC_Decrypt, AES_CBC_Encrypt
from trezor.crypto.hashlib import sha512
from trezor.messages.CipheredKeyValue import CipheredKeyValue
from trezor.ui.text import Text, TEXT_MARGIN_LEFT
from trezor.utils import split_words
from trezor.ui.text import Text
from apps.common import seed
from apps.common.confirm import require_confirm

View File

@ -1,4 +1,3 @@
from trezor import ui
from trezor.crypto.hashlib import sha256
from trezor.messages.ECDHSessionKey import ECDHSessionKey
from ustruct import pack, unpack

View File

@ -1,4 +1,3 @@
from trezor import ui
from trezor.crypto import random
from trezor.messages import ButtonRequestType
from trezor.messages.Entropy import Entropy

View File

@ -1,4 +1,4 @@
from trezor import ui, wire
from trezor import wire
from trezor.crypto.curve import secp256k1
from trezor.messages.InputScriptType import SPENDADDRESS, SPENDP2SHWITNESS, SPENDWITNESS
from trezor.messages.MessageSignature import MessageSignature

View File

@ -1,4 +1,4 @@
from trezor import ui, wire
from trezor import wire
from trezor.crypto.curve import secp256k1
from trezor.messages.InputScriptType import SPENDADDRESS, SPENDP2SHWITNESS, SPENDWITNESS
from trezor.messages.Success import Success