diff options
| author | Andrew Chow <[email protected]> | 2020-05-21 22:43:58 -0400 |
|---|---|---|
| committer | Andrew Chow <[email protected]> | 2020-05-21 22:43:58 -0400 |
| commit | 0122fbab4c340b23ae56173de6c5ab866ba25ab8 (patch) | |
| tree | 8fbde6abd2086591ecebf24ad6918dd2bedb4f32 /src/wallet/walletdb.cpp | |
| parent | Merge #18787: wallet: descriptor wallet release notes and cleanups (diff) | |
| download | discoin-0122fbab4c340b23ae56173de6c5ab866ba25ab8.tar.xz discoin-0122fbab4c340b23ae56173de6c5ab866ba25ab8.zip | |
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 331408ef4..7690019b6 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; |