aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/scriptpubkeyman.cpp
diff options
context:
space:
mode:
authorAndrew Chow <achow101-github@achow101.com>2021-04-22 14:40:23 -0400
committerAndrew Chow <achow101-github@achow101.com>2021-06-24 13:49:22 -0400
commit75530c93a83f3e94bcb78b6aa463c5570c1e737e (patch)
tree302ca6852f02536c966dffd622fde17466b755d3 /src/wallet/scriptpubkeyman.cpp
parent74fede3b8ba69e2cc82c617cdf406ab79df58825 (diff)
downloadbitcoin-75530c93a83f3e94bcb78b6aa463c5570c1e737e.tar.xz
Remove priv option for ToNormalizedString
Diffstat (limited to 'src/wallet/scriptpubkeyman.cpp')
-rw-r--r--src/wallet/scriptpubkeyman.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wallet/scriptpubkeyman.cpp b/src/wallet/scriptpubkeyman.cpp
index 4d29facc49..c0c752cad6 100644
--- a/src/wallet/scriptpubkeyman.cpp
+++ b/src/wallet/scriptpubkeyman.cpp
@@ -2266,7 +2266,7 @@ const std::vector<CScript> DescriptorScriptPubKeyMan::GetScriptPubKeys() const
return script_pub_keys;
}
-bool DescriptorScriptPubKeyMan::GetDescriptorString(std::string& out, bool priv) const
+bool DescriptorScriptPubKeyMan::GetDescriptorString(std::string& out) const
{
LOCK(cs_desc_man);
if (m_storage.IsLocked()) {
@@ -2276,7 +2276,7 @@ bool DescriptorScriptPubKeyMan::GetDescriptorString(std::string& out, bool priv)
FlatSigningProvider provider;
provider.keys = GetKeys();
- return m_wallet_descriptor.descriptor->ToNormalizedString(provider, out, priv);
+ return m_wallet_descriptor.descriptor->ToNormalizedString(provider, out);
}
void DescriptorScriptPubKeyMan::UpgradeDescriptorCache()