diff options
| author | Andrew Chow <[email protected]> | 2020-05-21 23:01:24 -0400 |
|---|---|---|
| committer | Andrew Chow <[email protected]> | 2020-05-21 23:01:24 -0400 |
| commit | d9cd095b5965fc20c09f401370e7ba99446663e3 (patch) | |
| tree | bb636e1c40f3fca52652f365987a9d99b396b88d /src/wallet/rpcdump.cpp | |
| parent | Split SetHDChain into AddHDChain and LoadHDChain (diff) | |
| download | discoin-d9cd095b5965fc20c09f401370e7ba99446663e3.tar.xz discoin-d9cd095b5965fc20c09f401370e7ba99446663e3.zip | |
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 7bf3d169c..4d9f41a4a 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); } } |