aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/rpcwallet.cpp
diff options
context:
space:
mode:
authorS3RK <1466284+S3RK@users.noreply.github.com>2021-06-24 08:35:23 +0200
committerS3RK <1466284+S3RK@users.noreply.github.com>2021-07-10 15:20:52 +0200
commitbb822a7af86897a9b6a5d616f193c258e8e76729 (patch)
treeab05012696e41e9dc0e358e81622038379c62cf0 /src/wallet/rpcwallet.cpp
parent088b348dbe82689ce1782653c8fdcebb3b636eb5 (diff)
downloadbitcoin-bb822a7af86897a9b6a5d616f193c258e8e76729.tar.xz
wallet, rpc: add listdescriptors private option
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 f1d5117415..73eb185640 100644
--- a/src/wallet/rpcwallet.cpp
+++ b/src/wallet/rpcwallet.cpp
@@ -3872,7 +3872,7 @@ RPCHelpMan getaddressinfo()
DescriptorScriptPubKeyMan* desc_spk_man = dynamic_cast<DescriptorScriptPubKeyMan*>(pwallet->GetScriptPubKeyMan(scriptPubKey));
if (desc_spk_man) {
std::string desc_str;
- if (desc_spk_man->GetDescriptorString(desc_str)) {
+ if (desc_spk_man->GetDescriptorString(desc_str, /* priv */ false)) {
ret.pushKV("parent_desc", desc_str);
}
}