mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-09-02 18:25:21 +00:00
lnaddr: clean up imports
This commit is contained in:
parent
c1b34dafe2
commit
53802ba382
1 changed files with 10 additions and 9 deletions
|
@ -1,17 +1,18 @@
|
||||||
#! /usr/bin/env python3
|
#! /usr/bin/env python3
|
||||||
# This was forked from https://github.com/rustyrussell/lightning-payencode/tree/acc16ec13a3fa1dc16c07af6ec67c261bd8aff23
|
# This was forked from https://github.com/rustyrussell/lightning-payencode/tree/acc16ec13a3fa1dc16c07af6ec67c261bd8aff23
|
||||||
|
|
||||||
from .bitcoin import hash160_to_b58_address, b58_address_to_hash160
|
|
||||||
from hashlib import sha256
|
|
||||||
from .segwit_addr import bech32_encode, bech32_decode, CHARSET
|
|
||||||
from binascii import hexlify
|
|
||||||
from decimal import Decimal
|
|
||||||
from . import constants
|
|
||||||
|
|
||||||
from . import ecc
|
|
||||||
import bitstring
|
|
||||||
import re
|
import re
|
||||||
import time
|
import time
|
||||||
|
from hashlib import sha256
|
||||||
|
from binascii import hexlify
|
||||||
|
from decimal import Decimal
|
||||||
|
|
||||||
|
import bitstring
|
||||||
|
|
||||||
|
from .bitcoin import hash160_to_b58_address, b58_address_to_hash160
|
||||||
|
from .segwit_addr import bech32_encode, bech32_decode, CHARSET
|
||||||
|
from . import constants
|
||||||
|
from . import ecc
|
||||||
|
|
||||||
|
|
||||||
# BOLT #11:
|
# BOLT #11:
|
||||||
|
|
Loading…
Add table
Reference in a new issue