Skip to content

Commit 7031721

Browse files
committed
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.
1 parent 8500f7b commit 7031721

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wallet/rpcwallet.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -540,7 +540,7 @@ static RPCHelpMan listaddressgroupings()
540540
{
541541
{RPCResult::Type::ARR, "", "",
542542
{
543-
{RPCResult::Type::ARR, "", "",
543+
{RPCResult::Type::ARR_FIXED, "", "",
544544
{
545545
{RPCResult::Type::STR, "address", "The bitcoin address"},
546546
{RPCResult::Type::STR_AMOUNT, "amount", "The amount in " + CURRENCY_UNIT},

0 commit comments

Comments
 (0)