aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2018-12-30 17:34:09 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2018-12-30 17:34:14 +0100
commit623a19bc2b343d6faf61116ca39347c8e335533b (patch)
treee5be644f4064811d71a595631044335efaafd88b
parentfa941016e8c19cb9c750bd776eed7481d8a7e32c (diff)
parentb4602e324056391138a1a536bf15a45ebf5b0c61 (diff)
downloadbitcoin-623a19bc2b343d6faf61116ca39347c8e335533b.tar.xz
Merge #15053: [0.17] Backport #14966
b4602e324056391138a1a536bf15a45ebf5b0c61 fix testmempoolaccept CLI syntax (1Il1) Pull request description: Backports #14966 to the 0.17 branch. Tree-SHA512: 91ab186d612a11454d1a7cbe6d4251813e42eb438b5e2e0e1dfdb76c352d866fd4d5f04cc0cb696ffb7585f24babbfeb79e73481cc669e4b944712a743e822d3
-rw-r--r--src/rpc/rawtransaction.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/rawtransaction.cpp b/src/rpc/rawtransaction.cpp
index 391e744c90..4258ce2e7f 100644
--- a/src/rpc/rawtransaction.cpp
+++ b/src/rpc/rawtransaction.cpp
@@ -1212,7 +1212,7 @@ static UniValue testmempoolaccept(const JSONRPCRequest& request)
"Sign the transaction, and get back the hex\n"
+ HelpExampleCli("signrawtransaction", "\"myhex\"") +
"\nTest acceptance of the transaction (signed hex)\n"
- + HelpExampleCli("testmempoolaccept", "\"signedhex\"") +
+ + HelpExampleCli("testmempoolaccept", "[\"signedhex\"]") +
"\nAs a json rpc call\n"
+ HelpExampleRpc("testmempoolaccept", "[\"signedhex\"]")
// clang-format on