mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-05-13 19:50:43 +02:00
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
@ -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 New Issue
Block a user