From e4a1e28c14fe3fc1b082366745f1b210dc0b8aab Mon Sep 17 00:00:00 2001 From: jl777 Date: Sun, 13 Nov 2016 09:47:14 -0300 Subject: [PATCH] test --- src/init.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)