Merge #7381: [walletdb] Fix syntax error in key parser

fa6d4cc [walletdb] Fix syntax error in key parser (MarcoFalke)
This commit is contained in:
Wladimir J. van der Laan 2016-01-20 13:07:57 +01:00
commit 545c5f920e
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6

View File

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