Browse Source

don't expose default servers and ports in __init__

283
ThomasV 8 years ago
parent
commit
5d83bcba14
  1. 2
      gui/qt/network_dialog.py
  2. 2
      lib/__init__.py

2
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 *

2
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

Loading…
Cancel
Save