Skip to content

Commit

Permalink
rpc/listaddressgroupings: redefine inner-most array as ARR_FIXED
Browse files Browse the repository at this point in the history
ARR_FIXED is for cases like this, where the elements are in an array for convenience, rather than due to being dynamically sized lists.
  • Loading branch information
kallewoof committed May 9, 2021
1 parent 8500f7b commit 7031721
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wallet/rpcwallet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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},
Expand Down

0 comments on commit 7031721

Please sign in to comment.