Merge 150be1c7b3 into merged_master (Bitcoin PR #15917)

This commit is contained in:
Andrew Poelstra 2020-10-29 02:04:04 +00:00
commit 22bffa44ff

View file

@ -31,6 +31,8 @@ fs::path GetWalletDir()
static bool IsBerkeleyBtree(const fs::path& path)
{
if (!fs::exists(path)) return false;
// A Berkeley DB Btree file has at least 4K.
// This check also prevents opening lock files.
boost::system::error_code ec;