Browse Source

xmrwallet: `PROXY_HOST` -> `PROXY_IP`

The MMGen Project 1 year ago
parent
commit
286ba79dd6
2 changed files with 3 additions and 3 deletions
  1. 2 2
      mmgen/help/xmrwallet.py
  2. 1 1
      mmgen/xmrwallet.py

+ 2 - 2
mmgen/help/xmrwallet.py

@@ -26,8 +26,8 @@ Unless --daemon is specified, the daemon is assumed to be listening on
 localhost at the default RPC port.
 
 If --tx-relay-daemon is specified, the monerod at HOST:PORT will be used to
-relay any created transactions.  PROXY_HOST:PROXY_PORT, if specified, may
-point to a SOCKS proxy, in which case HOST may be a Tor onion address.
+relay any created transactions.  PROXY_IP:PROXY_PORT, if specified, may point
+to a SOCKS proxy, in which case HOST may be a Tor onion address.
 
 All communications use the RPC protocol via SSL (HTTPS) or Tor.  RPC over
 plain HTTP is not supported.

+ 1 - 1
mmgen/xmrwallet.py

@@ -66,7 +66,7 @@ xmrwallet_uargs = namedtuple('xmrwallet_uargs',[
 xmrwallet_uarg_info = (
 	lambda e,hp: {
 		'daemon':          e('HOST:PORT', hp),
-		'tx_relay_daemon': e('HOST:PORT[:PROXY_HOST:PROXY_PORT]',          rf'({hp})(?::({hp}))?'),
+		'tx_relay_daemon': e('HOST:PORT[:PROXY_IP:PROXY_PORT]',            rf'({hp})(?::({hp}))?'),
 		'newaddr_spec':    e('WALLET_NUM[:ACCOUNT][,"label text"]',         r'(\d+)(?::(\d+))?(?:,(.*))?'),
 		'transfer_spec':   e('SOURCE_WALLET_NUM:ACCOUNT:ADDRESS,AMOUNT',   rf'(\d+):(\d+):([{b58a}]+),([0-9.]+)'),
 		'sweep_spec':      e('SOURCE_WALLET_NUM:ACCOUNT[,DEST_WALLET_NUM]', r'(\d+):(\d+)(?:,(\d+))?'),