chore(pipeline): remove tip_tx debugging-only comments (#2799)

This commit is contained in:
Alexey Shekhirin
2023-05-23 18:21:23 +04:00
committed by GitHub
parent bf876e7f55
commit 199137d90e
2 changed files with 2 additions and 6 deletions

View File

@@ -13,9 +13,7 @@ where
stages: Vec<BoxedStage<DB>>,
/// The maximum block number to sync to.
max_block: Option<BlockNumber>,
/// A receiver for the current chain tip to sync to
///
/// Note: this is only used for debugging purposes.
/// A receiver for the current chain tip to sync to.
tip_tx: Option<watch::Sender<H256>>,
}

View File

@@ -93,9 +93,7 @@ pub struct Pipeline<DB: Database> {
listeners: EventListeners<PipelineEvent>,
/// Keeps track of the progress of the pipeline.
progress: PipelineProgress,
/// A receiver for the current chain tip to sync to
///
/// Note: this is only used for debugging purposes.
/// A receiver for the current chain tip to sync to.
tip_tx: Option<watch::Sender<H256>>,
metrics: Metrics,
}