mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-01-17 18:40:09 +00:00
Merge #7381: [walletdb] Fix syntax error in key parser
fa6d4cc [walletdb] Fix syntax error in key parser (MarcoFalke)
This commit is contained in:
commit
545c5f920e
@ -205,7 +205,7 @@ bool CDBEnv::Salvage(const std::string& strFile, bool fAggressive, std::vector<C
|
|||||||
std::string keyHex, valueHex;
|
std::string keyHex, valueHex;
|
||||||
while (!strDump.eof() && keyHex != "DATA=END") {
|
while (!strDump.eof() && keyHex != "DATA=END") {
|
||||||
getline(strDump, keyHex);
|
getline(strDump, keyHex);
|
||||||
if (keyHex != "DATA_END") {
|
if (keyHex != "DATA=END") {
|
||||||
getline(strDump, valueHex);
|
getline(strDump, valueHex);
|
||||||
vResult.push_back(make_pair(ParseHex(keyHex), ParseHex(valueHex)));
|
vResult.push_back(make_pair(ParseHex(keyHex), ParseHex(valueHex)));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user