Skip to content

Commit

Permalink
[walletdb] Fix syntax error in key parser
Browse files Browse the repository at this point in the history
Github-Pull: bitcoin#7381
Rebased-From: fa6d4cc
  • Loading branch information
MarcoFalke authored and dexX7 committed Apr 24, 2016
1 parent 21aa7cd commit e9f4ff7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/db.cpp
Expand Up @@ -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)));
}
Expand Down

0 comments on commit e9f4ff7

Please sign in to comment.