[walletdb] Fix syntax error in key parser
Github-Pull: #7381 Rebased-From: fa6d4cc09575de30386bfbc5c8c3858cd7a2f42a
This commit is contained in:
parent
cda064caa1
commit
621bbd88ba
@ -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…
Reference in New Issue
Block a user