mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-22 15:04:44 +01:00
doc: Fix incorrect sendmany RPC doc
This enables the type check and fixes the wrong docs. Otherwise the enabled check would lead to test errors, such as: > "wallet_labels.py", line 96, in run_test > node.sendmany( > > test_framework.authproxy.JSONRPCException: > JSON value of type null is not of expected type string (-3)
This commit is contained in:
parent
fa96f93f05
commit
fa95f2033a
1 changed files with 2 additions and 3 deletions
|
@ -314,12 +314,11 @@ RPCHelpMan sendtoaddress()
|
|||
RPCHelpMan sendmany()
|
||||
{
|
||||
return RPCHelpMan{"sendmany",
|
||||
"\nSend multiple times. Amounts are double-precision floating point numbers." +
|
||||
"Send multiple times. Amounts are double-precision floating point numbers." +
|
||||
HELP_REQUIRING_PASSPHRASE,
|
||||
{
|
||||
{"dummy", RPCArg::Type::STR, RPCArg::Optional::NO, "Must be set to \"\" for backwards compatibility.",
|
||||
{"dummy", RPCArg::Type::STR, RPCArg::Default{"\"\""}, "Must be set to \"\" for backwards compatibility.",
|
||||
RPCArgOptions{
|
||||
.skip_type_check = true,
|
||||
.oneline_description = "\"\"",
|
||||
}},
|
||||
{"amounts", RPCArg::Type::OBJ_USER_KEYS, RPCArg::Optional::NO, "The addresses and amounts",
|
||||
|
|
Loading…
Add table
Reference in a new issue