message: Only update the finalized state if finalization is turned on.
  Use the tweak maxReorgDepth to determine whether to update
  the finalization state.
diff: @@ -3272,6 +3272,8 @@ bool ConnectTip(CValidationState &state,
  LOG(BENCH, " - Update Coins %.3fms\n", GetStopwatchMicros() - nStart);
  // Update the finalized block.
  + if (maxReorgDepth.Value() >= 0)
  + {
  int32_t nHeightToFinalize = pindexNew->nHeight - maxReorgDepth.Value();
  CBlockIndex *pindexToFinalize = pindexNew->GetAncestor(nHeightToFinalize);
  if (pindexToFinalize && !FinalizeBlockInternal(state, pindexToFinalize))
  @@ -3280,6 +3282,7 @@ bool ConnectTip(CValidationState &state,
  return error("ConnectTip(): FinalizeBlock %s failed (%s)", pindexNew->GetBlockHash().ToString(),
  FormatStateMessage(state));
  }
  + }
  mapBlockSource.erase(pindexNew->GetBlockHash());
  nTime3 = GetStopwatchMicros();
  