@ -3933,6 +3933,7 @@ bool CWallet::BackupWallet(const std::string& strDest)
CKeyPool::CKeyPool()
{
nTime = GetTime();
fInternal = false;
}
CKeyPool::CKeyPool(const CPubKey& vchPubKeyIn, bool internalIn)
@ -114,14 +114,19 @@ public:
READWRITE(nVersion);
READWRITE(nTime);
READWRITE(vchPubKey);
if (nVersion >= FEATURE_HD_SPLIT)
if (ser_action.ForRead()) {
try {
READWRITE(fInternal);
else
catch (...) {
if (ser_action.ForRead())
/* flag as external address if we can't read the internal boolean */
else {
};
/** Address book data */