Browse Source

[walletdb] Fix syntax error in key parser

0.13
MarcoFalke 9 years ago
parent
commit
fa6d4cc095
  1. 2
      src/wallet/db.cpp

2
src/wallet/db.cpp

@ -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)));
} }

Loading…
Cancel
Save