mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-26 17:38:39 +00:00
apps: remove unused imports
This commit is contained in:
parent
6751d84236
commit
bf9f503c3c
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -1,4 +1,3 @@
|
||||
from trezor import ui
|
||||
from trezor.crypto import random
|
||||
from trezor.messages import ButtonRequestType
|
||||
from trezor.messages.Entropy import Entropy
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user