Skip to content

Commit d81ca26

Browse files
author
qtum-neil
authored
Merge pull request bitcoin#360 from pandazwb/fix-rpc-help-port
fix the help message for rpc example port
2 parents d0d0db9 + 5c373ed commit d81ca26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rpc/server.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -517,7 +517,7 @@ std::string HelpExampleCli(const std::string& methodname, const std::string& arg
517517
std::string HelpExampleRpc(const std::string& methodname, const std::string& args)
518518
{
519519
return "> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", "
520-
"\"method\": \"" + methodname + "\", \"params\": [" + args + "] }' -H 'content-type: text/plain;' http://127.0.0.1:8332/\n";
520+
"\"method\": \"" + methodname + "\", \"params\": [" + args + "] }' -H 'content-type: text/plain;' http://127.0.0.1:3889/\n";
521521
}
522522

523523
void RPCSetTimerInterfaceIfUnset(RPCTimerInterface *iface)

0 commit comments

Comments
 (0)