From 6142571783af82778db8ab0eea136e3fb2043bb0 Mon Sep 17 00:00:00 2001 From: Matthias Seitz Date: Fri, 7 Feb 2025 00:50:34 +0100 Subject: [PATCH] chore: rm todo --- 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 2cb98d44f93d..06ce1182db17 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 {