aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/db.cpp
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2016-01-20 09:51:02 +0100
committerMarcoFalke <falke.marco@gmail.com>2016-01-20 09:44:53 +0100
commitfa6d4cc09575de30386bfbc5c8c3858cd7a2f42a (patch)
treef5ef6f269de305758dcfd08b3363b3c7b243d9ca /src/wallet/db.cpp
parentf9fd4c2884849bc667da3da8bf5f78f33dd01f1c (diff)
[walletdb] Fix syntax error in key parser
Diffstat (limited to 'src/wallet/db.cpp')
-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)));
}