Skip to content

Commit 848077f

Browse files
committed
clarify RPC rawtransaction documentation
1 parent 327129f commit 848077f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/rpc/rawtransaction.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -939,7 +939,7 @@ static UniValue signrawtransactionwithkey(const JSONRPCRequest& request)
939939
"this transaction depends on but may not yet be in the block chain.\n",
940940
{
941941
{"hexstring", RPCArg::Type::STR, false},
942-
{"privkyes", RPCArg::Type::ARR,
942+
{"privkeys", RPCArg::Type::ARR,
943943
{
944944
{"privatekey", RPCArg::Type::STR_HEX, false},
945945
},
@@ -1142,7 +1142,7 @@ static UniValue testmempoolaccept(const JSONRPCRequest& request)
11421142
throw std::runtime_error(
11431143
// clang-format off
11441144
"testmempoolaccept [\"rawtxs\"] ( allowhighfees )\n"
1145-
"\nReturns if raw transaction (serialized, hex-encoded) would be accepted by mempool.\n"
1145+
"\nReturns result of mempool acceptance tests indicating if raw transaction (serialized, hex-encoded) would be accepted by mempool.\n"
11461146
"\nThis checks if the transaction violates the consensus or policy rules.\n"
11471147
"\nSee sendrawtransaction call.\n"
11481148
"\nArguments:\n"

0 commit comments

Comments
 (0)