diff options
author | Jonas Schnelli <dev@jonasschnelli.ch> | 2016-07-09 12:56:56 +0200 |
---|---|---|
committer | Jonas Schnelli <dev@jonasschnelli.ch> | 2016-07-09 12:58:03 +0200 |
commit | b993671921c0c301f18c542e77d695fdc50ffd91 (patch) | |
tree | c17eb746e01810c409eeb1c474881120939968bb /src/wallet/walletdb.cpp | |
parent | 67caef673089aca2ffb95cd15b2cb056c96e5c30 (diff) |
[Wallet] keep HD seed during salvagewallet
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 7bfd490950..72af8ab7b2 100644 --- a/src/wallet/walletdb.cpp +++ b/src/wallet/walletdb.cpp @@ -977,7 +977,7 @@ bool CWalletDB::Recover(CDBEnv& dbenv, const std::string& filename, bool fOnlyKe fReadOK = ReadKeyValue(&dummyWallet, ssKey, ssValue, wss, strType, strErr); } - if (!IsKeyType(strType)) + if (!IsKeyType(strType) && strType != "hdchain") continue; if (!fReadOK) { |