mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-02-04 06:12:07 +01:00
[walletdb] Fix syntax error in key parser
Github-Pull: #7381
Rebased-From: fa6d4cc095
This commit is contained in:
committed by
Wladimir J. van der Laan
parent
00aefccb12
commit
c40ec14210
@@ -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)));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user