follow-up electrum_ecc: fix some import names
ref https://github.com/spesmilo/electrum/pull/9234
This commit is contained in:
@@ -5,6 +5,8 @@
|
||||
import hid
|
||||
from typing import TYPE_CHECKING, Dict, Tuple, Optional, List, Any, Callable
|
||||
|
||||
import electrum_ecc as ecc
|
||||
|
||||
from electrum import bip32, constants
|
||||
from electrum.i18n import _
|
||||
from electrum.keystore import Hardware_KeyStore
|
||||
@@ -18,7 +20,6 @@ from electrum.storage import get_derivation_used_for_hw_device_encryption
|
||||
from electrum.bitcoin import OnchainOutputType
|
||||
|
||||
import electrum.bitcoin as bitcoin
|
||||
import electrum.ecc as ecc
|
||||
|
||||
from ..hw_wallet import HW_PluginBase, HardwareClientBase, HardwareHandlerBase
|
||||
|
||||
|
||||
@@ -17,12 +17,13 @@ import time
|
||||
import copy
|
||||
from typing import TYPE_CHECKING, Optional
|
||||
|
||||
import electrum_ecc as ecc
|
||||
|
||||
from electrum.crypto import sha256d, EncodeAES_bytes, DecodeAES_bytes, hmac_oneshot
|
||||
from electrum.bitcoin import public_key_to_p2pkh, usermessage_magic, verify_usermessage_with_address
|
||||
from electrum.bip32 import BIP32Node, convert_bip32_intpath_to_strpath, is_all_public_derivation
|
||||
from electrum.bip32 import normalize_bip32_derivation
|
||||
from electrum import descriptor
|
||||
from electrum import ecc
|
||||
from electrum.wallet import Standard_Wallet
|
||||
from electrum import constants
|
||||
from electrum.transaction import Transaction, PartialTransaction, PartialTxInput, Sighash
|
||||
|
||||
@@ -2,7 +2,8 @@ import time
|
||||
from struct import pack
|
||||
from typing import Optional
|
||||
|
||||
from electrum import ecc
|
||||
import electrum_ecc as ecc
|
||||
|
||||
from electrum.i18n import _
|
||||
from electrum.util import UserCancelled
|
||||
from electrum.keystore import bip39_normalize_passphrase
|
||||
|
||||
@@ -2,7 +2,8 @@ import time
|
||||
from struct import pack
|
||||
from typing import Optional
|
||||
|
||||
from electrum import ecc
|
||||
import electrum_ecc as ecc
|
||||
|
||||
from electrum.i18n import _
|
||||
from electrum.util import UserCancelled
|
||||
from electrum.keystore import bip39_normalize_passphrase
|
||||
|
||||
Reference in New Issue
Block a user