From be2a09e73b0d37311a20d6cd52d9b882933dcea8 Mon Sep 17 00:00:00 2001 From: Matthias Seitz Date: Fri, 7 Feb 2025 01:10:12 +0100 Subject: [PATCH] chore: rm todo (#14289) --- crates/stages/api/src/pipeline/mod.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/crates/stages/api/src/pipeline/mod.rs b/crates/stages/api/src/pipeline/mod.rs index 2cb98d44f..06ce1182d 100644 --- a/crates/stages/api/src/pipeline/mod.rs +++ b/crates/stages/api/src/pipeline/mod.rs @@ -131,9 +131,7 @@ impl Pipeline { /// pipeline and its result as a future. #[track_caller] pub fn run_as_fut(mut self, target: Option) -> PipelineFut { - // TODO: fix this in a follow up PR. ideally, consensus engine would be responsible for - // updating metrics. - let _ = self.register_metrics(); // ignore error + let _ = self.register_metrics(); Box::pin(async move { // NOTE: the tip should only be None if we are in continuous sync mode. if let Some(target) = target {