From 848077f94de001579d5c04df6198d110c68bf24b Mon Sep 17 00:00:00 2001 From: Jameson Lopp Date: Mon, 26 Nov 2018 09:58:29 -0500 Subject: [PATCH] clarify RPC rawtransaction documentation --- src/rpc/rawtransaction.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rpc/rawtransaction.cpp b/src/rpc/rawtransaction.cpp index a3ed4e86d91..41f3ac6b4a4 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"