mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 19:09:54 +00:00
chore: rm todo (#14289)
This commit is contained in:
@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user