mirror of
https://github.com/bitcoin/bitcoin.git
synced 2024-05-17 23:56:39 +00:00
[rpc] Fix broken bitcoin-cli examples
This commit is contained in:
parent
b33c03b0cb
commit
85016e52f6
@ -610,7 +610,7 @@ static UniValue combinerawtransaction(const JSONRPCRequest& request)
|
||||
"\"hex\" (string) The hex-encoded raw transaction with signature(s)\n"
|
||||
},
|
||||
RPCExamples{
|
||||
HelpExampleCli("combinerawtransaction", "[\"myhex1\", \"myhex2\", \"myhex3\"]")
|
||||
HelpExampleCli("combinerawtransaction", R"('["myhex1", "myhex2", "myhex3"]')")
|
||||
},
|
||||
}.Check(request);
|
||||
|
||||
@ -858,7 +858,7 @@ static UniValue testmempoolaccept(const JSONRPCRequest& request)
|
||||
"Sign the transaction, and get back the hex\n"
|
||||
+ HelpExampleCli("signrawtransactionwithwallet", "\"myhex\"") +
|
||||
"\nTest acceptance of the transaction (signed hex)\n"
|
||||
+ HelpExampleCli("testmempoolaccept", "[\"signedhex\"]") +
|
||||
+ HelpExampleCli("testmempoolaccept", R"('["signedhex"]')") +
|
||||
"\nAs a JSON-RPC call\n"
|
||||
+ HelpExampleRpc("testmempoolaccept", "[\"signedhex\"]")
|
||||
},
|
||||
@ -1226,7 +1226,7 @@ UniValue combinepsbt(const JSONRPCRequest& request)
|
||||
" \"psbt\" (string) The base64-encoded partially signed transaction\n"
|
||||
},
|
||||
RPCExamples{
|
||||
HelpExampleCli("combinepsbt", "[\"mybase64_1\", \"mybase64_2\", \"mybase64_3\"]")
|
||||
HelpExampleCli("combinepsbt", R"('["mybase64_1", "mybase64_2", "mybase64_3"]')")
|
||||
},
|
||||
}.Check(request);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user