Skip to content

Commit 621bbd8

Browse files
MarcoFalkelaanwj
MarcoFalke
authored andcommitted
[walletdb] Fix syntax error in key parser
Github-Pull: #7381 Rebased-From: fa6d4cc
1 parent cda064c commit 621bbd8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/wallet/db.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ bool CDBEnv::Salvage(const std::string& strFile, bool fAggressive, std::vector<C
205205
std::string keyHex, valueHex;
206206
while (!strDump.eof() && keyHex != "DATA=END") {
207207
getline(strDump, keyHex);
208-
if (keyHex != "DATA_END") {
208+
if (keyHex != "DATA=END") {
209209
getline(strDump, valueHex);
210210
vResult.push_back(make_pair(ParseHex(keyHex), ParseHex(valueHex)));
211211
}

0 commit comments

Comments
 (0)