Skip to content

Commit

Permalink
don't report minversion wallet entry as unknown
Browse files Browse the repository at this point in the history
  • Loading branch information
instagibbs committed Aug 14, 2018
1 parent f87d0a9 commit 321159e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/wallet/walletdb.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 (...)
Expand Down

0 comments on commit 321159e

Please sign in to comment.