From 0c607ab071876c461be7b14b7310df2bbd5eb99d Mon Sep 17 00:00:00 2001 From: Luke Childs Date: Thu, 16 Apr 2020 10:33:11 +0700 Subject: [PATCH] Change localhost fallback port to 1 --- electrum/network.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/electrum/network.py b/electrum/network.py index cacc6cb38..e63ae026c 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:50123:s.') - self.default_server = "localhost:50123:s" + self.logger.warning('failed to parse server-string; falling back to localhost:1:s.') + self.default_server = "localhost:1:s" if not self.default_server: self.default_server = pick_random_server()