Browse Source

Change localhost fallback port to 1

patch-2
Luke Childs 5 years ago
committed by GitHub
parent
commit
0c607ab071
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: try:
deserialize_server(self.default_server) deserialize_server(self.default_server)
except: except:
self.logger.warning('failed to parse server-string; falling back to localhost:50123:s.') self.logger.warning('failed to parse server-string; falling back to localhost:1:s.')
self.default_server = "localhost:50123:s" self.default_server = "localhost:1:s"
if not self.default_server: if not self.default_server:
self.default_server = pick_random_server() self.default_server = pick_random_server()

Loading…
Cancel
Save