diff --git a/src/init.cpp b/src/init.cpp index 1d0ffdb0b..f757beafd 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -514,7 +514,8 @@ void CleanupBlockRevFiles() remove(it->path()); } } - + path komodostate = GetDataDir() / "komodostate"; + remove(komodostate); // Remove all block files that aren't part of a contiguous set starting at // zero by walking the ordered map (keys are block file indices) by // keeping a separate counter. Once we hit a gap (or if 0 doesn't exist)