From 199137d90ef1518b5de62d26a0be54284d48deb0 Mon Sep 17 00:00:00 2001 From: Alexey Shekhirin Date: Tue, 23 May 2023 18:21:23 +0400 Subject: [PATCH] chore(pipeline): remove `tip_tx` debugging-only comments (#2799) --- crates/stages/src/pipeline/builder.rs | 4 +--- crates/stages/src/pipeline/mod.rs | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/crates/stages/src/pipeline/builder.rs b/crates/stages/src/pipeline/builder.rs index e8c26187b6..ace8e987f5 100644 --- a/crates/stages/src/pipeline/builder.rs +++ b/crates/stages/src/pipeline/builder.rs @@ -13,9 +13,7 @@ where stages: Vec>, /// The maximum block number to sync to. max_block: Option, - /// 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>, } diff --git a/crates/stages/src/pipeline/mod.rs b/crates/stages/src/pipeline/mod.rs index 64fcb64269..1754428ddc 100644 --- a/crates/stages/src/pipeline/mod.rs +++ b/crates/stages/src/pipeline/mod.rs @@ -93,9 +93,7 @@ pub struct Pipeline { listeners: EventListeners, /// 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>, metrics: Metrics, }