diff options
author | Karl-Johan Alm <karljohan-alm@garage.co.jp> | 2021-05-09 21:54:40 +0900 |
---|---|---|
committer | Karl-Johan Alm <karljohan-alm@garage.co.jp> | 2021-05-09 22:22:26 +0900 |
commit | 7031721f2cc3eef30c46ff50c52328e9ba8090e0 (patch) | |
tree | b0ee96d65bd4c59d2dcd94436389b0d336d8898b /src | |
parent | 8500f7bf54d3e27fd2fa7fda15ad833f5688c331 (diff) | |
download | bitcoin-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')
-rw-r--r-- | src/wallet/rpcwallet.cpp | 2 |
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}, |