Merge a6878b8080 into merged_master (Elements PR #696)

This commit is contained in:
Andrew Poelstra 2020-11-09 21:20:20 +00:00
commit adceec0ffe
3 changed files with 6 additions and 2 deletions

View file

@ -119,7 +119,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:7041/\n";
}
// Converts a hex string to a public key if possible