Merge pull request #2420 from nformant1/nformant1-patch-1

Fix RPC port documentation in RPC help
This commit is contained in:
Patrick Lodder 2021-07-23 23:17:00 +02:00 committed by GitHub
commit df3b708e8c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -529,7 +529,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:22555/\n";
}
void RPCSetTimerInterfaceIfUnset(RPCTimerInterface *iface)