Permalink
Browse files

[walletdb] Fix syntax error in key parser

Github-Pull: #7381
Rebased-From: fa6d4cc
  • Loading branch information...
MarcoFalke authored and laanwj committed Jan 20, 2016
1 parent cda064c commit 621bbd88baf7e8f50a015905070e19f71a53f8b9
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/wallet/db.cpp
View
@@ -205,7 +205,7 @@ bool CDBEnv::Salvage(const std::string& strFile, bool fAggressive, std::vector<C
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)));
}

0 comments on commit 621bbd8

Please sign in to comment.