diff options
author | Andrew Chow <achow101-github@achow101.com> | 2020-05-21 23:01:24 -0400 |
---|---|---|
committer | Andrew Chow <achow101-github@achow101.com> | 2020-05-21 23:01:24 -0400 |
commit | d9cd095b5965fc20c09f401370e7ba99446663e3 (patch) | |
tree | bb636e1c40f3fca52652f365987a9d99b396b88d /src/wallet/rpcdump.cpp | |
parent | 0122fbab4c340b23ae56173de6c5ab866ba25ab8 (diff) |
Split SetActiveScriptPubKeyMan into Add/LoadActiveScriptPubKeyMan
Remove the memonly bool and follow the Add and Load pattern we use
everywhere else.
Diffstat (limited to 'src/wallet/rpcdump.cpp')
-rw-r--r-- | src/wallet/rpcdump.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); } } |