fix testmempoolaccept CLI syntax
`testmempoolaccept "hexstring"` will give a "JSON parse error". The correct syntax is `testmempoolaccept \[\"hexstring\"\]` (but seems escaping is not displayed in other areas so leaving backspaces out).
This commit is contained in:
parent
9133227298
commit
b74a52192b
1 changed files with 1 additions and 1 deletions
|
@ -1135,7 +1135,7 @@ static UniValue testmempoolaccept(const JSONRPCRequest& request)
|
||||||
"Sign the transaction, and get back the hex\n"
|
"Sign the transaction, and get back the hex\n"
|
||||||
+ HelpExampleCli("signrawtransactionwithwallet", "\"myhex\"") +
|
+ HelpExampleCli("signrawtransactionwithwallet", "\"myhex\"") +
|
||||||
"\nTest acceptance of the transaction (signed hex)\n"
|
"\nTest acceptance of the transaction (signed hex)\n"
|
||||||
+ HelpExampleCli("testmempoolaccept", "\"signedhex\"") +
|
+ HelpExampleCli("testmempoolaccept", "[\"signedhex\"]") +
|
||||||
"\nAs a JSON-RPC call\n"
|
"\nAs a JSON-RPC call\n"
|
||||||
+ HelpExampleRpc("testmempoolaccept", "[\"signedhex\"]")
|
+ HelpExampleRpc("testmempoolaccept", "[\"signedhex\"]")
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue