Browse Source
network: fix get_servers to not modify default list
sqlite_db
SomberNight
6 years ago
No known key found for this signature in database
GPG Key ID: B33B5F232C6271E9
1 changed files with
1 additions and
1 deletions
-
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: |
|
|
|