commit 5d83bcba1467808de5f08d37701ff2ad48b26a49
parent d042d6e970389f97331e9caae196bf7a3af1e293
Author: ThomasV <thomasv@electrum.org>
Date: Sat, 7 Jan 2017 17:25:09 +0100
don't expose default servers and ports in __init__
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/gui/qt/network_dialog.py b/gui/qt/network_dialog.py
@@ -27,7 +27,7 @@ from PyQt4.QtGui import *
from PyQt4.QtCore import *
from electrum.i18n import _
-from electrum import DEFAULT_PORTS
+from electrum.network import DEFAULT_PORTS
from electrum.network import serialize_server, deserialize_server
from util import *
diff --git a/lib/__init__.py b/lib/__init__.py
@@ -2,7 +2,7 @@ from version import ELECTRUM_VERSION
from util import format_satoshis, print_msg, print_error, set_verbosity
from wallet import Synchronizer, WalletStorage, Wallet, Imported_Wallet
from coinchooser import COIN_CHOOSERS
-from network import Network, DEFAULT_SERVERS, DEFAULT_PORTS, pick_random_server
+from network import Network, pick_random_server
from interface import Connection, Interface
from simple_config import SimpleConfig, get_config, set_config
import bitcoin