You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
5182940 RPC: fix sendall docs (Anthony Towns)
Pull request description:
Updates the documentation for the "inputs" entry in the "options"
parameter of the sendall RPC to match the documentation for
createrawtransaction.
ACKs for top commit:
achow101:
ACK 5182940
Xekyo:
ACK 5182940
Tree-SHA512: fe78e17b2f36190939b645d7f4653d025bbac110e4a7285b49e7f1da27adac8c4d03fd5b770e3a74351066b1ab87fde36fc796f42b03897e4e2ebef4b6b6081c
Copy file name to clipboardExpand all lines: src/wallet/rpc/spend.cpp
+8-4
Original file line number
Diff line number
Diff line change
@@ -1264,11 +1264,15 @@ RPCHelpMan sendall()
1264
1264
{"include_watching", RPCArg::Type::BOOL, RPCArg::DefaultHint{"true for watch-only wallets, otherwise false"}, "Also select inputs which are watch-only.\n"
1265
1265
"Only solvable inputs can be used. Watch-only destinations are solvable if the public key and/or output script was imported,\n"
1266
1266
"e.g. with 'importpubkey' or 'importmulti' with the 'pubkeys' or 'desc' field."},
1267
-
{"inputs", RPCArg::Type::ARR, RPCArg::Default{UniValue::VARR}, "Use exactly the specified inputs to build the transaction. Specifying inputs is incompatible with send_max. A JSON array of JSON objects",
1267
+
{"inputs", RPCArg::Type::ARR, RPCArg::Default{UniValue::VARR}, "Use exactly the specified inputs to build the transaction. Specifying inputs is incompatible with send_max.",
1268
1268
{
1269
-
{"txid", RPCArg::Type::STR_HEX, RPCArg::Optional::NO, "The transaction id"},
1270
-
{"vout", RPCArg::Type::NUM, RPCArg::Optional::NO, "The output number"},
1271
-
{"sequence", RPCArg::Type::NUM, RPCArg::Optional::NO, "The sequence number"},
0 commit comments