Skip to content

Commit

Permalink
chore: rm todo (#14289)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsse authored Feb 7, 2025
1 parent 68952b3 commit be2a09e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions crates/stages/api/src/pipeline/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -131,9 +131,7 @@ impl<N: ProviderNodeTypes> Pipeline<N> {
/// pipeline and its result as a future.
#[track_caller]
pub fn run_as_fut(mut self, target: Option<PipelineTarget>) -> PipelineFut<N> {
// 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 {
Expand Down

0 comments on commit be2a09e

Please sign in to comment.