diff --git a/src/rpc/util.cpp b/src/rpc/util.cpp --- a/src/rpc/util.cpp +++ b/src/rpc/util.cpp @@ -143,10 +143,10 @@ std::string HelpExampleRpc(const std::string &methodname, const std::string &args) { return "> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", " - "\"id\":\"curltest\", " + "\"id\": \"curltest\", " "\"method\": \"" + methodname + "\", \"params\": [" + args + - "] }' -H 'content-type: text/plain;' http://127.0.0.1:8332/\n"; + "]}' -H 'content-type: text/plain;' http://127.0.0.1:8332/\n"; } // Converts a hex string to a public key if possible