commit 1f5852bd155709f4dfb7e51586dae6150db712aa
parent 784b06f1b92b4c8cc97c443eb0591bcafad3f99c
Author: ThomasV <thomasv@electrum.org>
Date: Thu, 12 Apr 2018 09:47:09 +0200
lnbase: use relative imports
Diffstat:
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git 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