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 0e89187 commit 589db87Copy full SHA for 589db87
src/validation.cpp
@@ -2902,7 +2902,7 @@ bool Chainstate::FlushStateToDisk(
2902
return FatalError(m_chainman.GetNotifications(), state, _("Disk space is too low!"));
2903
}
2904
// Flush the chainstate (which may refer to block index entries).
2905
- const auto empty_cache{(mode == FlushStateMode::ALWAYS) || fCacheLarge || fCacheCritical || fFlushForPrune};
+ const auto empty_cache{(mode == FlushStateMode::ALWAYS) || fCacheLarge || fCacheCritical};
2906
if (empty_cache ? !CoinsTip().Flush() : !CoinsTip().Sync()) {
2907
return FatalError(m_chainman.GetNotifications(), state, _("Failed to write to coin database."));
2908
0 commit comments