chore: rm todo (#14289)

This commit is contained in:
Matthias Seitz
2025-02-07 01:10:12 +01:00
committed by GitHub
parent 68952b3064
commit be2a09e73b

View File

@ -131,9 +131,7 @@ impl<N: ProviderNodeTypes> Pipeline<N> {
/// pipeline and its result as a future. /// pipeline and its result as a future.
#[track_caller] #[track_caller]
pub fn run_as_fut(mut self, target: Option<PipelineTarget>) -> PipelineFut<N> { 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 let _ = self.register_metrics();
// updating metrics.
let _ = self.register_metrics(); // ignore error
Box::pin(async move { Box::pin(async move {
// NOTE: the tip should only be None if we are in continuous sync mode. // NOTE: the tip should only be None if we are in continuous sync mode.
if let Some(target) = target { if let Some(target) = target {