From a1000bbaac0c58b94f83f5a04fb47bdf4fce977e Mon Sep 17 00:00:00 2001 From: The MMGen Project Date: Sun, 4 Jul 2021 10:26:29 +0000 Subject: [PATCH] rpc.py: Onion address support bugfix --- mmgen/rpc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mmgen/rpc.py b/mmgen/rpc.py index 8c5971b4..3c7d92ef 100755 --- a/mmgen/rpc.py +++ b/mmgen/rpc.py @@ -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)