Skip to content

Commit 8003104

Browse files
committed
Clarify includeWatching for fundrawtransaction
1 parent fb4f5be commit 8003104

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/wallet/rpcwallet.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3132,7 +3132,9 @@ static UniValue fundrawtransaction(const JSONRPCRequest& request)
31323132
{"changeAddress", RPCArg::Type::STR, /* default */ "pool address", "The bitcoin address to receive the change"},
31333133
{"changePosition", RPCArg::Type::NUM, /* default */ "random", "The index of the change output"},
31343134
{"change_type", RPCArg::Type::STR, /* default */ "set by -changetype", "The output type to use. Only valid if changeAddress is not specified. Options are \"legacy\", \"p2sh-segwit\", and \"bech32\"."},
3135-
{"includeWatching", RPCArg::Type::BOOL, /* default */ "true for watch-only wallets, otherwise false", "Also select inputs which are watch only"},
3135+
{"includeWatching", RPCArg::Type::BOOL, /* default */ "true for watch-only wallets, otherwise false", "Also select inputs which are watch only.\n"
3136+
"Only solvable inputs can be used. Watch-only destinations are solvable if the public key and/or output script was imported,\n"
3137+
"e.g. with 'importpubkey' or 'importmulti' with the 'pubkeys' or 'desc' field."},
31363138
{"lockUnspents", RPCArg::Type::BOOL, /* default */ "false", "Lock selected unspent outputs"},
31373139
{"feeRate", RPCArg::Type::AMOUNT, /* default */ "not set: makes wallet determine the fee", "Set a specific fee rate in " + CURRENCY_UNIT + "/kB"},
31383140
{"subtractFeeFromOutputs", RPCArg::Type::ARR, /* default */ "empty array", "A json array of integers.\n"

0 commit comments

Comments
 (0)