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 committed 2021-05-09 22:22:26 +09:00
1 parent 8500f7bf54
commit 7031721f2c
1 file changed
+1 -1
+1 -1
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},