use "rpcconnect" instead of "rpcip" in conf file

The parameter `rpcip` does not exist in bitcoin.conf. You need to use instead `rpcconnect`
patch-1
Chakib Benziane 7 years ago committed by GitHub
parent 836163ec21
commit 0ed1c57f47

@ -29,7 +29,7 @@ def get_url_from_datadir(datadir):
return craft_url("http", "localhost", 8332)
proto = cfg["protocol"] if "protocol" in cfg else "http"
ip = cfg["rpcip"] if "rpcip" in cfg else "localhost"
ip = cfg["rpcconnect"] if "rpcconnect" in cfg else "localhost"
try:
port = cfg["rpcport"]
except KeyError:

Loading…
Cancel
Save