Also log flush mode in FlushStateToDisk()

This commit is contained in:
Duke
2023-12-27 17:56:44 -05:00
parent 1db3fb0429
commit 90133dbc0e

View File

@@ -3717,7 +3717,7 @@ bool static FlushStateToDisk(CValidationState &state, FlushStateMode mode) {
pblockindex->TrimSolution();
++nTrimmed;
}
LogPrintf("%s: trimmed %d solutions from block index\n", __func__, nTrimmed);
LogPrintf("%s: trimmed %d solutions from block index mode=%d\n", __func__, nTrimmed, mode);
}
// Finally remove any pruned files
if (fFlushForPrune)