mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-30 00:41:31 +00:00
rm some unused imports
This commit is contained in:
parent
ffe3cef21a
commit
cc4aa1812d
2 changed files with 3 additions and 17 deletions
|
@ -3,18 +3,16 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
import hid
|
import hid
|
||||||
import hashlib
|
|
||||||
from typing import TYPE_CHECKING, Dict, Tuple, Optional, List, Any, Callable
|
from typing import TYPE_CHECKING, Dict, Tuple, Optional, List, Any, Callable
|
||||||
|
|
||||||
from electrum import bip32, constants
|
from electrum import bip32, constants
|
||||||
from electrum.i18n import _
|
from electrum.i18n import _
|
||||||
from electrum.keystore import Hardware_KeyStore, Xpub
|
from electrum.keystore import Hardware_KeyStore
|
||||||
from electrum.transaction import PartialTransaction
|
from electrum.transaction import PartialTransaction
|
||||||
from electrum.wallet import Standard_Wallet, Multisig_Wallet, Deterministic_Wallet
|
from electrum.wallet import Standard_Wallet, Multisig_Wallet, Deterministic_Wallet
|
||||||
from electrum.util import bh2u, UserFacingException
|
from electrum.util import bh2u, UserFacingException
|
||||||
from electrum.base_wizard import ScriptTypeNotSupported, BaseWizard
|
from electrum.base_wizard import ScriptTypeNotSupported, BaseWizard
|
||||||
from electrum.logging import get_logger
|
from electrum.logging import get_logger
|
||||||
from electrum.crypto import hmac_oneshot
|
|
||||||
from electrum.plugin import Device, DeviceInfo
|
from electrum.plugin import Device, DeviceInfo
|
||||||
from electrum.simple_config import SimpleConfig
|
from electrum.simple_config import SimpleConfig
|
||||||
from electrum.json_db import StoredDict
|
from electrum.json_db import StoredDict
|
||||||
|
@ -24,7 +22,6 @@ import electrum.bitcoin as bitcoin
|
||||||
import electrum.ecc as ecc
|
import electrum.ecc as ecc
|
||||||
|
|
||||||
from ..hw_wallet import HW_PluginBase, HardwareClientBase
|
from ..hw_wallet import HW_PluginBase, HardwareClientBase
|
||||||
from ..hw_wallet.plugin import LibraryFoundButUnusable
|
|
||||||
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|
|
@ -1,37 +1,26 @@
|
||||||
import time, os
|
|
||||||
from functools import partial
|
from functools import partial
|
||||||
import copy
|
|
||||||
|
|
||||||
from PyQt5.QtCore import Qt, pyqtSignal
|
|
||||||
from PyQt5.QtWidgets import (
|
from PyQt5.QtWidgets import (
|
||||||
QPushButton,
|
QPushButton,
|
||||||
QLabel,
|
QLabel,
|
||||||
QVBoxLayout,
|
QVBoxLayout,
|
||||||
QWidget,
|
|
||||||
QGridLayout,
|
|
||||||
QLineEdit,
|
QLineEdit,
|
||||||
QHBoxLayout,
|
QHBoxLayout,
|
||||||
)
|
)
|
||||||
|
|
||||||
from PyQt5.QtCore import Qt, QMetaObject, Q_RETURN_ARG, pyqtSignal, pyqtSlot
|
from PyQt5.QtCore import Qt, QMetaObject, Q_RETURN_ARG, pyqtSlot
|
||||||
|
|
||||||
from electrum.gui.qt.util import (
|
from electrum.gui.qt.util import (
|
||||||
WindowModalDialog,
|
WindowModalDialog,
|
||||||
Buttons,
|
|
||||||
OkButton,
|
OkButton,
|
||||||
CancelButton,
|
|
||||||
get_parent_main_window,
|
|
||||||
)
|
)
|
||||||
from electrum.gui.qt.transaction_dialog import TxDialog
|
|
||||||
|
|
||||||
from electrum.i18n import _
|
from electrum.i18n import _
|
||||||
from electrum.plugin import hook
|
from electrum.plugin import hook
|
||||||
from electrum.wallet import Multisig_Wallet
|
|
||||||
from electrum.transaction import PartialTransaction
|
|
||||||
|
|
||||||
from .bitbox02 import BitBox02Plugin
|
from .bitbox02 import BitBox02Plugin
|
||||||
from ..hw_wallet.qt import QtHandlerBase, QtPluginBase
|
from ..hw_wallet.qt import QtHandlerBase, QtPluginBase
|
||||||
from ..hw_wallet.plugin import only_hook_if_libraries_available, LibraryFoundButUnusable
|
from ..hw_wallet.plugin import only_hook_if_libraries_available
|
||||||
|
|
||||||
|
|
||||||
class Plugin(BitBox02Plugin, QtPluginBase):
|
class Plugin(BitBox02Plugin, QtPluginBase):
|
||||||
|
|
Loading…
Add table
Reference in a new issue