Browse Source

rpc.py: Onion address support bugfix

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

+ 1 - 1
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)