diff options
| author | Andrew Toth <[email protected]> | 2019-10-14 13:09:42 -0400 |
|---|---|---|
| committer | Andrew Toth <[email protected]> | 2019-10-14 13:09:52 -0400 |
| commit | 85016e52f6adc01735beefe5a8aefcc4f0c4aa25 (patch) | |
| tree | ae16904ca175129b8aee5e40c8cdcdb5dd8365c5 /src/rpc/rawtransaction.cpp | |
| parent | Merge #17124: test: speed up wallet_address_types by whitelisting peers (imme... (diff) | |
| download | discoin-85016e52f6adc01735beefe5a8aefcc4f0c4aa25.tar.xz discoin-85016e52f6adc01735beefe5a8aefcc4f0c4aa25.zip | |
[rpc] Fix broken bitcoin-cli examples
Diffstat (limited to 'src/rpc/rawtransaction.cpp')
| -rw-r--r-- | src/rpc/rawtransaction.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rpc/rawtransaction.cpp b/src/rpc/rawtransaction.cpp index f548d356c..f94856a28 100644 --- a/src/rpc/rawtransaction.cpp +++ b/src/rpc/rawtransaction.cpp @@ -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); |