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 424be03 commit f4c4e38Copy full SHA for f4c4e38
src/init.cpp
@@ -588,7 +588,7 @@ void CleanupBlockRevFiles()
588
LogPrintf("Removing unusable blk?????.dat and rev?????.dat files for -reindex with -prune\n");
589
fs::path blocksdir = GetDataDir() / "blocks";
590
for (fs::directory_iterator it(blocksdir); it != fs::directory_iterator(); it++) {
591
- if (is_regular_file(*it) &&
+ if (fs::is_regular_file(*it) &&
592
it->path().filename().string().length() == 12 &&
593
it->path().filename().string().substr(8,4) == ".dat")
594
{
0 commit comments