diff --git a/src/wallet/walletutil.cpp b/src/wallet/walletutil.cpp --- a/src/wallet/walletutil.cpp +++ b/src/wallet/walletutil.cpp @@ -8,6 +8,7 @@ #include bool ExistsBerkeleyDatabase(const fs::path &path); +bool ExistsSQLiteDatabase(const fs::path &path); fs::path GetWalletDir() { fs::path path; @@ -51,7 +52,8 @@ const fs::path path = it->path().string().substr(offset); if (it->status().type() == fs::directory_file && - ExistsBerkeleyDatabase(it->path())) { + (ExistsBerkeleyDatabase(it->path()) || + ExistsSQLiteDatabase(it->path()))) { // Found a directory which contains wallet.dat btree file, add it as // a wallet. paths.emplace_back(path);