From 1f5852bd155709f4dfb7e51586dae6150db712aa Mon Sep 17 00:00:00 2001 From: ThomasV Date: Thu, 12 Apr 2018 09:47:09 +0200 Subject: [PATCH] lnbase: use relative imports --- lib/lnbase.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/lnbase.py b/lib/lnbase.py index 4b4de56b2..9fd242a84 100644 --- a/lib/lnbase.py +++ b/lib/lnbase.py @@ -15,12 +15,12 @@ import hashlib import hmac import cryptography.hazmat.primitives.ciphers.aead as AEAD -from electrum.bitcoin import public_key_from_private_key, ser_to_point, point_to_ser, string_to_number, deserialize_privkey, EC_KEY, rev_hex -from electrum.constants import set_testnet, set_simnet -import electrum.constants as constants -from electrum.util import PrintError -from electrum.wallet import Wallet -from electrum.storage import WalletStorage +from .bitcoin import public_key_from_private_key, ser_to_point, point_to_ser, string_to_number, deserialize_privkey, EC_KEY, rev_hex +from .constants import set_testnet, set_simnet +from . import constants +from .util import PrintError +from .wallet import Wallet +from .storage import WalletStorage tcp_socket_timeout = 10 server_response_timeout = 60