don't report minversion wallet entry as unknown

This commit is contained in:
Gregory Sanders 2018-08-14 11:34:27 -04:00
parent f87d0a9d75
commit 321159e53e

View file

@ -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 (...)