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
|
|
@ -426,7 +426,7 @@ class Network(PrintError): |
|
|
|
def set_proxy(self, proxy: Optional[dict]): |
|
|
|
self.proxy = proxy |
|
|
|
# Store these somewhere so we can un-monkey-patch |
|
|
|
if not hasattr(socket, "_socketobject"): |
|
|
|
if not hasattr(socket, "_getaddrinfo"): |
|
|
|
socket._getaddrinfo = socket.getaddrinfo |
|
|
|
if proxy: |
|
|
|
self.print_error('setting proxy', proxy) |
|
|
|