|
|
@ -1881,7 +1881,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()) { |
|
|
|