From 53802ba3821e88b1d5ecd3e373041cbd0d7537db Mon Sep 17 00:00:00 2001 From: SomberNight Date: Mon, 8 Oct 2018 20:22:51 +0200 Subject: [PATCH] lnaddr: clean up imports --- electrum/lnaddr.py | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/electrum/lnaddr.py b/electrum/lnaddr.py index 99b842112..6f288a5a9 100755 --- a/electrum/lnaddr.py +++ b/electrum/lnaddr.py @@ -1,17 +1,18 @@ #! /usr/bin/env python3 # 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 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: