rpc.py: Onion address support bugfix
This commit is contained in:
parent
3d8ee62e5a
commit
a1000bbaac
1 changed files with 1 additions and 1 deletions
|
|
@ -675,7 +675,7 @@ class MoneroRPCClient(RPCClient):
|
|||
self.proxy = IPPort(proxy)
|
||||
test_connection = False
|
||||
if host.endswith('.onion'):
|
||||
network_proto = 'http'
|
||||
self.network_proto = 'http'
|
||||
super().__init__(host,port,test_connection)
|
||||
if self.auth_type:
|
||||
self.auth = auth_data(user,passwd)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue