|
|
@ -1899,7 +1899,7 @@ bool static FlushStateToDisk(CValidationState &state, FlushStateMode mode) { |
|
|
|
std::set<int> setFilesToPrune; |
|
|
|
std::set<int> setFilesToPrune; |
|
|
|
bool fFlushForPrune = false; |
|
|
|
bool fFlushForPrune = false; |
|
|
|
try { |
|
|
|
try { |
|
|
|
if (fPruneMode && fCheckForPruning) { |
|
|
|
if (fPruneMode && fCheckForPruning && !fReindex) { |
|
|
|
FindFilesToPrune(setFilesToPrune); |
|
|
|
FindFilesToPrune(setFilesToPrune); |
|
|
|
fCheckForPruning = false; |
|
|
|
fCheckForPruning = false; |
|
|
|
if (!setFilesToPrune.empty()) { |
|
|
|
if (!setFilesToPrune.empty()) { |
|
|
|