diff --git a/client/interface.py b/client/interface.py index 0ef38b93..3d2491e3 100644 --- a/client/interface.py +++ b/client/interface.py @@ -21,7 +21,7 @@ import random, socket, ast import thread, threading, traceback, sys, time, json, Queue DEFAULT_TIMEOUT = 5 -DEFAULT_SERVERS = ['electrum.bitcoins.sk','ecdsa.org','electrum.novit.ro'] # list of default servers +DEFAULT_SERVERS = ['ecdsa.org:50001:s'] # ['electrum.bitcoins.sk','ecdsa.org','electrum.novit.ro'] # list of default servers def old_to_new(s): diff --git a/client/wallet.py b/client/wallet.py index 0c580fac..c9ee44ed 100644 --- a/client/wallet.py +++ b/client/wallet.py @@ -233,7 +233,6 @@ from version import ELECTRUM_VERSION, SEED_VERSION from interface import NativeInterface, AsynchronousInterface, HttpInterface, DEFAULT_SERVERS -DEFAULT_PORT = 50000 class Wallet: @@ -260,7 +259,7 @@ class Wallet: self.receipt = None # next receipt self.addressbook = [] # outgoing addresses, for payments - self.server = random.choice( DEFAULT_SERVERS ) + ':50000:n' # random choice when the wallet is created + self.server = random.choice( DEFAULT_SERVERS ) # random choice when the wallet is created # not saved self.tx_history = {}