commit 53802ba3821e88b1d5ecd3e373041cbd0d7537db
parent c1b34dafe2ac01cd14990298014ad3ede9407e95
Author: SomberNight <somber.night@protonmail.com>
Date: Mon, 8 Oct 2018 20:22:51 +0200
lnaddr: clean up imports
Diffstat:
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git 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
+import re
+import time
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 .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: