aboutsummaryrefslogtreecommitdiff
path: root/src/rpc
diff options
context:
space:
mode:
authorJameson Lopp <jameson.lopp@gmail.com>2018-11-26 09:58:29 -0500
committerJameson Lopp <jameson.lopp@gmail.com>2018-11-26 09:58:29 -0500
commit848077f94de001579d5c04df6198d110c68bf24b (patch)
tree63779dd2ac0a94c153f333c788a0fdd690f4053b /src/rpc
parent327129f7a6440e3bbd0a0ea415ea5f8907cf3233 (diff)
clarify RPC rawtransaction documentation
Diffstat (limited to 'src/rpc')
-rw-r--r--src/rpc/rawtransaction.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rpc/rawtransaction.cpp b/src/rpc/rawtransaction.cpp
index a3ed4e86d9..41f3ac6b4a 100644
--- a/src/rpc/rawtransaction.cpp
+++ b/src/rpc/rawtransaction.cpp
@@ -939,7 +939,7 @@ static UniValue signrawtransactionwithkey(const JSONRPCRequest& request)
"this transaction depends on but may not yet be in the block chain.\n",
{
{"hexstring", RPCArg::Type::STR, false},
- {"privkyes", RPCArg::Type::ARR,
+ {"privkeys", RPCArg::Type::ARR,
{
{"privatekey", RPCArg::Type::STR_HEX, false},
},
@@ -1142,7 +1142,7 @@ static UniValue testmempoolaccept(const JSONRPCRequest& request)
throw std::runtime_error(
// clang-format off
"testmempoolaccept [\"rawtxs\"] ( allowhighfees )\n"
- "\nReturns if raw transaction (serialized, hex-encoded) would be accepted by mempool.\n"
+ "\nReturns result of mempool acceptance tests indicating if raw transaction (serialized, hex-encoded) would be accepted by mempool.\n"
"\nThis checks if the transaction violates the consensus or policy rules.\n"
"\nSee sendrawtransaction call.\n"
"\nArguments:\n"