[walletdb] Fix syntax error in key parser

Closes #691
This commit is contained in:
crowning- 2016-02-01 09:26:14 +01:00 committed by Holger Schinzel
parent e2aaf09700
commit c0ec48a51a

View File

@ -199,7 +199,7 @@ bool CDBEnv::Salvage(std::string strFile, bool fAggressive, std::vector<CDBEnv::
std::string keyHex, valueHex;
while (!strDump.eof() && keyHex != "DATA=END") {
getline(strDump, keyHex);
if (keyHex != "DATA_END") {
if (keyHex != "DATA=END") {
getline(strDump, valueHex);
vResult.push_back(make_pair(ParseHex(keyHex), ParseHex(valueHex)));
}