Fix the port in curl examples shown at the bottom of all RPC method help texts
This commit is contained in:
@@ -863,7 +863,7 @@ std::string HelpExampleCli(const std::string& methodname, const std::string& arg
|
|||||||
std::string HelpExampleRpc(const std::string& methodname, const std::string& args)
|
std::string HelpExampleRpc(const std::string& methodname, const std::string& args)
|
||||||
{
|
{
|
||||||
return "> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", "
|
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:8232/\n";
|
"\"method\": \"" + methodname + "\", \"params\": [" + args + "] }' -H 'content-type: text/plain;' http://127.0.0.1:7771/\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
void RPCRegisterTimerInterface(RPCTimerInterface *iface)
|
void RPCRegisterTimerInterface(RPCTimerInterface *iface)
|
||||||
|
|||||||
Reference in New Issue
Block a user