diff options
| author | Patrick Lodder <[email protected]> | 2021-07-23 23:17:00 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-07-23 23:17:00 +0200 |
| commit | df3b708e8c6eec6a5c3aa104febac9b4297d796c (patch) | |
| tree | 4c0c93b0638c798435ca5e7fc816a4ea585ad2f6 /src/rpc/server.cpp | |
| parent | Merge pull request #2418 from xanimo/1.14.4-fix-seed-init (diff) | |
| parent | Update server.cpp (diff) | |
| download | discoin-df3b708e8c6eec6a5c3aa104febac9b4297d796c.tar.xz discoin-df3b708e8c6eec6a5c3aa104febac9b4297d796c.zip | |
Merge pull request #2420 from nformant1/nformant1-patch-1
Fix RPC port documentation in RPC help
Diffstat (limited to 'src/rpc/server.cpp')
| -rw-r--r-- | src/rpc/server.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/server.cpp b/src/rpc/server.cpp index 303806b99..e25869a89 100644 --- a/src/rpc/server.cpp +++ b/src/rpc/server.cpp @@ -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) |