Skip to content

Commit b5c3d7a

Browse files
author
MarcoFalke
committed
Merge #14808: doc: clarify RPC rawtransaction documentation
848077f clarify RPC rawtransaction documentation (Jameson Lopp) Pull request description: Fixing an RPC documentation typo and clarifying the wording of the testmempoolaccept function. Tree-SHA512: 495c05ba322d0747ff569d02f5d2ad7d94b5542049c82091f5e74d8d02a8af408f31e10b112ca20d506125e3b39703ec3169f3a446f09ecae3cd46148ffc4041
2 parents 327129f + 848077f commit b5c3d7a

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)