Browse Source

network: fix get_servers to not modify default list

sqlite_db
SomberNight 6 years ago
parent
commit
52d602b6c1
No known key found for this signature in database GPG Key ID: B33B5F232C6271E9
  1. 2
      electrum/network.py

2
electrum/network.py

@ -438,7 +438,7 @@ class Network(PrintError):
@with_recent_servers_lock
def get_servers(self):
# start with hardcoded servers
out = constants.net.DEFAULT_SERVERS
out = dict(constants.net.DEFAULT_SERVERS) # copy
# add recent servers
for s in self.recent_servers:
try:

Loading…
Cancel
Save