We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 32692d2 commit 29c9e2cCopy full SHA for 29c9e2c
src/wallet/db.cpp
@@ -18,7 +18,12 @@ std::vector<fs::path> ListDatabases(const fs::path& wallet_dir)
18
19
for (auto it = fs::recursive_directory_iterator(wallet_dir, ec); it != fs::recursive_directory_iterator(); it.increment(ec)) {
20
if (ec) {
21
- LogPrintf("%s: %s %s\n", __func__, ec.message(), it->path().string());
+ if (fs::is_directory(*it)) {
22
+ it.no_push();
23
+ LogPrintf("%s: %s %s -- skipping.\n", __func__, ec.message(), it->path().string());
24
+ } else {
25
+ LogPrintf("%s: %s %s\n", __func__, ec.message(), it->path().string());
26
+ }
27
continue;
28
}
29
0 commit comments