rpc: address:amount dictionaries are OBJ_USER_KEYS

This commit is contained in:
Karl-Johan Alm
2021-05-11 19:03:41 +09:00
parent c8cf0a3d51
commit dc4db23b30
2 changed files with 4 additions and 4 deletions

View File

@@ -1434,7 +1434,7 @@ static RPCHelpMan createpsbt()
"For compatibility reasons, a dictionary, which holds the key-value pairs directly, is also\n"
" accepted as second parameter.",
{
{"", RPCArg::Type::OBJ, RPCArg::Optional::OMITTED, "",
{"", RPCArg::Type::OBJ_USER_KEYS, RPCArg::Optional::OMITTED, "",
{
{"address", RPCArg::Type::AMOUNT, RPCArg::Optional::NO, "A key-value pair. The key (string) is the bitcoin address, the value (float or string) is the amount in " + CURRENCY_UNIT},
},