diff options
author | Andrew Chow <achow101-github@achow101.com> | 2020-05-21 22:43:58 -0400 |
---|---|---|
committer | Andrew Chow <achow101-github@achow101.com> | 2020-05-21 22:43:58 -0400 |
commit | 0122fbab4c340b23ae56173de6c5ab866ba25ab8 (patch) | |
tree | 8fbde6abd2086591ecebf24ad6918dd2bedb4f32 /src/wallet/walletdb.cpp | |
parent | df303ceb650521dc7b1ba91e0eea383c387a5860 (diff) | |
download | bitcoin-0122fbab4c340b23ae56173de6c5ab866ba25ab8.tar.xz |
Split SetHDChain into AddHDChain and LoadHDChain
Remove the memonly bool and follow our typical Add and Load pattern.
Diffstat (limited to 'src/wallet/walletdb.cpp')
-rw-r--r-- | src/wallet/walletdb.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/walletdb.cpp b/src/wallet/walletdb.cpp index 331408ef48..7690019b69 100644 --- a/src/wallet/walletdb.cpp +++ b/src/wallet/walletdb.cpp @@ -540,7 +540,7 @@ ReadKeyValue(CWallet* pwallet, CDataStream& ssKey, CDataStream& ssValue, } else if (strType == DBKeys::HDCHAIN) { CHDChain chain; ssValue >> chain; - pwallet->GetOrCreateLegacyScriptPubKeyMan()->SetHDChain(chain, true); + pwallet->GetOrCreateLegacyScriptPubKeyMan()->LoadHDChain(chain); } else if (strType == DBKeys::FLAGS) { uint64_t flags; ssValue >> flags; |