wallet: Avoid logging no_such_file_or_directory error

This commit is contained in:
João Barbosa 2019-04-29 00:05:55 +01:00
parent bdd7217f2c
commit 70c1cf8c1c

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;