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/walletdb.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/walletdb.cpp')
| -rw-r--r-- | src/wallet/walletdb.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wallet/walletdb.cpp b/src/wallet/walletdb.cpp index 7690019b6..7e64ec16e 100644 --- a/src/wallet/walletdb.cpp +++ b/src/wallet/walletdb.cpp @@ -748,10 +748,10 @@ DBErrors WalletBatch::LoadWallet(CWallet* pwallet) // Set the active ScriptPubKeyMans for (auto spk_man_pair : wss.m_active_external_spks) { - pwallet->SetActiveScriptPubKeyMan(spk_man_pair.second, spk_man_pair.first, /* internal */ false, /* memonly */ true); + pwallet->LoadActiveScriptPubKeyMan(spk_man_pair.second, spk_man_pair.first, /* internal */ false); } for (auto spk_man_pair : wss.m_active_internal_spks) { - pwallet->SetActiveScriptPubKeyMan(spk_man_pair.second, spk_man_pair.first, /* internal */ true, /* memonly */ true); + pwallet->LoadActiveScriptPubKeyMan(spk_man_pair.second, spk_man_pair.first, /* internal */ true); } // Set the descriptor caches |