rpc/listaddressgroupings: redefine inner-most array as ARR_FIXED

ARR_FIXED is for cases like this, where the elements are in an array for convenience, rather than due to being dynamically sized lists.
This commit is contained in:
Karl-Johan Alm 2021-05-09 21:54:40 +09:00
parent 8500f7bf54
commit 7031721f2c
No known key found for this signature in database
GPG key ID: 57AF762DB3353322

View file

@ -540,7 +540,7 @@ static RPCHelpMan listaddressgroupings()
{
{RPCResult::Type::ARR, "", "",
{
{RPCResult::Type::ARR, "", "",
{RPCResult::Type::ARR_FIXED, "", "",
{
{RPCResult::Type::STR, "address", "The bitcoin address"},
{RPCResult::Type::STR_AMOUNT, "amount", "The amount in " + CURRENCY_UNIT},