wallet: Avoid logging no_such_file_or_directory error

This commit is contained in:
João Barbosa committed 2019-04-29 00:07:55 +01:00
1 parent bdd7217f2c
commit 70c1cf8c1c
1 file changed
+2
+2
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;