aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2016-01-20 13:07:57 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2016-01-20 13:08:03 +0100
commit545c5f920ebbbf0c95cc6b2fb508f5e7bc0fe67f (patch)
treef5ef6f269de305758dcfd08b3363b3c7b243d9ca
parentf9fd4c2884849bc667da3da8bf5f78f33dd01f1c (diff)
parentfa6d4cc09575de30386bfbc5c8c3858cd7a2f42a (diff)
Merge #7381: [walletdb] Fix syntax error in key parser
fa6d4cc [walletdb] Fix syntax error in key parser (MarcoFalke)
-rw-r--r--src/wallet/db.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/db.cpp b/src/wallet/db.cpp
index d18250b76f..50b0f40a6a 100644
--- a/src/wallet/db.cpp
+++ b/src/wallet/db.cpp
@@ -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)));
}