aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/db.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2016-02-15 15:50:28 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2016-02-15 17:14:30 +0100
commitf31b6b899568e976eb9c18bc899e9e8328b524b5 (patch)
tree803fcdb36c3b8d0b95886018d640ce64ed7f0b38 /src/wallet/db.cpp
parentbf1e113311fe225c9a3a78f9d0fb5e43974573b7 (diff)
downloadbitcoin-f31b6b899568e976eb9c18bc899e9e8328b524b5.tar.xz
test: test leading space for ParseHex
BerkeleyDB dump files have key and value lines indented. The salvage code passes these to ParseHex as-is. Check this in the tests (should just pass with current code).
Diffstat (limited to 'src/wallet/db.cpp')
-rw-r--r--src/wallet/db.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/wallet/db.cpp b/src/wallet/db.cpp
index 50b0f40a6a..6af5413a9e 100644
--- a/src/wallet/db.cpp
+++ b/src/wallet/db.cpp
@@ -193,9 +193,9 @@ bool CDBEnv::Salvage(const std::string& strFile, bool fAggressive, std::vector<C
// Format of bdb dump is ascii lines:
// header lines...
// HEADER=END
- // hexadecimal key
- // hexadecimal value
- // ... repeated
+ // hexadecimal key
+ // hexadecimal value
+ // ... repeated
// DATA=END
string strLine;