Browse Source

rpc.py: disable connection testing if 'proxy' is set

The MMGen Project 3 years ago
parent
commit
ae50763799
1 changed files with 1 additions and 0 deletions
  1. 1 0
      mmgen/rpc.py

+ 1 - 0
mmgen/rpc.py

@@ -673,6 +673,7 @@ class MoneroRPCClient(RPCClient):
 		if proxy is not None:
 			from .obj import IPPort
 			self.proxy = IPPort(proxy)
+			test_connection = False
 		super().__init__(host,port,test_connection)
 		if self.auth_type:
 			self.auth = auth_data(user,passwd)