aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/rpcwallet.cpp
diff options
context:
space:
mode:
authorKarl-Johan Alm <karljohan-alm@garage.co.jp>2021-05-09 21:54:40 +0900
committerKarl-Johan Alm <karljohan-alm@garage.co.jp>2021-05-09 22:22:26 +0900
commit7031721f2cc3eef30c46ff50c52328e9ba8090e0 (patch)
treeb0ee96d65bd4c59d2dcd94436389b0d336d8898b /src/wallet/rpcwallet.cpp
parent8500f7bf54d3e27fd2fa7fda15ad833f5688c331 (diff)
downloadbitcoin-7031721f2cc3eef30c46ff50c52328e9ba8090e0.tar.xz
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.
Diffstat (limited to 'src/wallet/rpcwallet.cpp')
-rw-r--r--src/wallet/rpcwallet.cpp2
1 files changed, 1 insertions, 1 deletions
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},