From d9cd095b5965fc20c09f401370e7ba99446663e3 Mon Sep 17 00:00:00 2001 From: Andrew Chow Date: Thu, 21 May 2020 23:01:24 -0400 Subject: Split SetActiveScriptPubKeyMan into Add/LoadActiveScriptPubKeyMan Remove the memonly bool and follow the Add and Load pattern we use everywhere else. --- src/wallet/rpcdump.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/wallet/rpcdump.cpp') diff --git a/src/wallet/rpcdump.cpp b/src/wallet/rpcdump.cpp index 7bf3d169c3..4d9f41a4af 100644 --- a/src/wallet/rpcdump.cpp +++ b/src/wallet/rpcdump.cpp @@ -1568,7 +1568,7 @@ static UniValue ProcessDescriptorImport(CWallet * const pwallet, const UniValue& if (!w_desc.descriptor->GetOutputType()) { warnings.push_back("Unknown output type, cannot set descriptor to active."); } else { - pwallet->SetActiveScriptPubKeyMan(spk_manager->GetID(), *w_desc.descriptor->GetOutputType(), internal); + pwallet->AddActiveScriptPubKeyMan(spk_manager->GetID(), *w_desc.descriptor->GetOutputType(), internal); } } -- cgit v1.2.3