From adedc7f9c1643eac919c308c7d14e2f27b0d2d6d Mon Sep 17 00:00:00 2001 From: Gregory Sanders Date: Fri, 30 Aug 2019 11:36:01 -0400 Subject: [PATCH] fix HelpExamplRPC port for liquidv1 vs bitcoin mainnet --- src/rpc/server.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rpc/server.cpp b/src/rpc/server.cpp index 0ef54f5a03..436b23990b 100644 --- a/src/rpc/server.cpp +++ b/src/rpc/server.cpp @@ -578,7 +578,7 @@ std::string HelpExampleCli(const std::string& methodname, const std::string& arg std::string HelpExampleRpc(const std::string& methodname, const std::string& args) { return "> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", " - "\"method\": \"" + methodname + "\", \"params\": [" + args + "] }' -H 'content-type: text/plain;' http://127.0.0.1:8332/\n"; + "\"method\": \"" + methodname + "\", \"params\": [" + args + "] }' -H 'content-type: text/plain;' http://127.0.0.1:7041/\n"; } void RPCSetTimerInterfaceIfUnset(RPCTimerInterface *iface)