From 454be19f6dc1246cdaf933a73aa1ecdab8e93777 Mon Sep 17 00:00:00 2001 From: Luke Childs Date: Tue, 14 Apr 2020 20:40:11 +0700 Subject: [PATCH] Use non-standard localhost port for server-string fallback --- electrum/network.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/electrum/network.py b/electrum/network.py index e3d9ed553..cacc6cb38 100644 --- a/electrum/network.py +++ b/electrum/network.py @@ -268,8 +268,8 @@ class Network(Logger): try: deserialize_server(self.default_server) except: - self.logger.warning('failed to parse server-string; falling back to localhost.') - self.default_server = "localhost:50002:s" + self.logger.warning('failed to parse server-string; falling back to localhost:50123:s.') + self.default_server = "localhost:50123:s" if not self.default_server: self.default_server = pick_random_server()