wallet: Avoid logging no_such_file_or_directory error
This commit is contained in:
parent
bdd7217f2c
commit
70c1cf8c1c
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue