(trivial) fix some import orders
1. stdlib 2. 3rd-party 3. internal (as in PEP-8)
This commit is contained in:
@@ -14,18 +14,8 @@
|
|||||||
# TODO impl ADDR descriptors
|
# TODO impl ADDR descriptors
|
||||||
# TODO impl RAW descriptors
|
# TODO impl RAW descriptors
|
||||||
|
|
||||||
import enum
|
|
||||||
|
|
||||||
from .bip32 import convert_bip32_strpath_to_intpath, BIP32Node, KeyOriginInfo, BIP32_PRIME
|
|
||||||
from . import bitcoin
|
|
||||||
from .bitcoin import construct_script, opcodes, construct_witness
|
|
||||||
from . import constants
|
|
||||||
from .crypto import hash_160, sha256
|
|
||||||
from . import ecc
|
|
||||||
from . import segwit_addr
|
|
||||||
from .util import bfh
|
|
||||||
|
|
||||||
from binascii import unhexlify
|
from binascii import unhexlify
|
||||||
|
import enum
|
||||||
from enum import Enum
|
from enum import Enum
|
||||||
from typing import (
|
from typing import (
|
||||||
List,
|
List,
|
||||||
@@ -37,6 +27,14 @@ from typing import (
|
|||||||
Set,
|
Set,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
from .bip32 import convert_bip32_strpath_to_intpath, BIP32Node, KeyOriginInfo, BIP32_PRIME
|
||||||
|
from . import bitcoin
|
||||||
|
from .bitcoin import construct_script, opcodes, construct_witness
|
||||||
|
from . import constants
|
||||||
|
from .crypto import hash_160, sha256
|
||||||
|
from . import ecc
|
||||||
|
from . import segwit_addr
|
||||||
|
|
||||||
|
|
||||||
MAX_TAPROOT_NODES = 128
|
MAX_TAPROOT_NODES = 128
|
||||||
|
|
||||||
|
|||||||
@@ -29,9 +29,10 @@ from typing import Sequence, Tuple, Optional, Dict, TYPE_CHECKING, Set
|
|||||||
import time
|
import time
|
||||||
import threading
|
import threading
|
||||||
from threading import RLock
|
from threading import RLock
|
||||||
import attr
|
|
||||||
from math import inf
|
from math import inf
|
||||||
|
|
||||||
|
import attr
|
||||||
|
|
||||||
from .util import profiler, with_lock
|
from .util import profiler, with_lock
|
||||||
from .logging import Logger
|
from .logging import Logger
|
||||||
from .lnutil import (NUM_MAX_EDGES_IN_PAYMENT_PATH, ShortChannelID, LnFeatures,
|
from .lnutil import (NUM_MAX_EDGES_IN_PAYMENT_PATH, ShortChannelID, LnFeatures,
|
||||||
|
|||||||
Reference in New Issue
Block a user