Browse Source

Use non-standard localhost port for server-string fallback

patch-2
Luke Childs 5 years ago
committed by GitHub
parent
commit
454be19f6d
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      electrum/network.py

4
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()

Loading…
Cancel
Save