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

This commit is contained in:
The MMGen Project 2021-06-27 20:58:01 +00:00
commit ae50763799
Signed by: mmgen
GPG key ID: 3F8B1861E32B7DA2

View file

@ -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)