From 7031721f2cc3eef30c46ff50c52328e9ba8090e0 Mon Sep 17 00:00:00 2001 From: Karl-Johan Alm Date: Sun, 9 May 2021 21:54:40 +0900 Subject: 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. --- src/wallet/rpcwallet.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/wallet/rpcwallet.cpp') diff --git a/src/wallet/rpcwallet.cpp b/src/wallet/rpcwallet.cpp index 67d9d56133..ae337055e2 100644 --- a/src/wallet/rpcwallet.cpp +++ b/src/wallet/rpcwallet.cpp @@ -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}, -- cgit v1.2.3