commit 52d602b6c1e510470aa004567e366c0c86503820
parent add3b36f32a12ae2aee75f80ca89c37065fa03af
Author: SomberNight <somber.night@protonmail.com>
Date: Sat, 2 Feb 2019 20:10:12 +0100
network: fix get_servers to not modify default list
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/electrum/network.py b/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: