aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/walletdb.cpp
diff options
context:
space:
mode:
authorGregory Sanders <gsanders87@gmail.com>2018-08-14 11:34:27 -0400
committerGregory Sanders <gsanders87@gmail.com>2018-08-14 11:34:27 -0400
commit321159e53e800c1df2d8dfd6ac03374f1829c327 (patch)
tree518ade80d3b0043d0b5994e65e15572c07e8bd02 /src/wallet/walletdb.cpp
parentf87d0a9d75b366445f880041c56c725f8196364e (diff)
don't report minversion wallet entry as unknown
Diffstat (limited to 'src/wallet/walletdb.cpp')
-rw-r--r--src/wallet/walletdb.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wallet/walletdb.cpp b/src/wallet/walletdb.cpp
index 15c5b82c52..1b787be198 100644
--- a/src/wallet/walletdb.cpp
+++ b/src/wallet/walletdb.cpp
@@ -509,7 +509,8 @@ ReadKeyValue(CWallet* pwallet, CDataStream& ssKey, CDataStream& ssValue,
strErr = "Error reading wallet database: Unknown non-tolerable wallet flags found";
return false;
}
- } else if (strType != "bestblock" && strType != "bestblock_nomerkle") {
+ } else if (strType != "bestblock" && strType != "bestblock_nomerkle" &&
+ strType != "minversion") {
wss.m_unknown_records++;
}
} catch (...)