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: #7381
Rebased-From: fa6d4cc
  • Loading branch information
MarcoFalke authored and laanwj committed Jan 20, 2016
1 parent cda064c commit 621bbd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wallet/db.cpp
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ bool CDBEnv::Salvage(const std::string& strFile, bool fAggressive, std::vector<C
std::string keyHex, valueHex; std::string keyHex, valueHex;
while (!strDump.eof() && keyHex != "DATA=END") { while (!strDump.eof() && keyHex != "DATA=END") {
getline(strDump, keyHex); getline(strDump, keyHex);
if (keyHex != "DATA_END") { if (keyHex != "DATA=END") {
getline(strDump, valueHex); getline(strDump, valueHex);
vResult.push_back(make_pair(ParseHex(keyHex), ParseHex(valueHex))); vResult.push_back(make_pair(ParseHex(keyHex), ParseHex(valueHex)));
} }
Expand Down

0 comments on commit 621bbd8

Please sign in to comment.