From 447698d880fedb53ef7f4981e0ebabf44ba24d76 Mon Sep 17 00:00:00 2001 From: Tsvetomir Dimitrov Date: Thu, 9 Feb 2023 10:51:25 +0200 Subject: [PATCH] Remove TODOs --- node/overseer/src/dummy.rs | 2 +- node/service/src/lib.rs | 2 +- node/service/src/overseer.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/node/overseer/src/dummy.rs b/node/overseer/src/dummy.rs index 0c14890d997c..b19787d9bec6 100644 --- a/node/overseer/src/dummy.rs +++ b/node/overseer/src/dummy.rs @@ -190,7 +190,7 @@ where .span_per_active_leaf(Default::default()) .active_leaves(Default::default()) .known_leaves(LruCache::new(KNOWN_LEAVES_CACHE_SIZE)) - .leaves(Default::default()) // TODO: this is no longer needed!!! + .leaves(Default::default()) .spawner(SpawnGlue(spawner)) .metrics(metrics) .sync_oracle(MajorSyncOracle::new_dummy()) diff --git a/node/service/src/lib.rs b/node/service/src/lib.rs index f79e0dcc0def..fdb856346cf7 100644 --- a/node/service/src/lib.rs +++ b/node/service/src/lib.rs @@ -1067,7 +1067,7 @@ where .generate::>( overseer_connector, OverseerGenArgs { - leaves: active_leaves, // TODO: this is no longer needed!!! + leaves: active_leaves, keystore, runtime_client: overseer_client.clone(), parachains_db, diff --git a/node/service/src/overseer.rs b/node/service/src/overseer.rs index ef4205e54517..10a68fa0caea 100644 --- a/node/service/src/overseer.rs +++ b/node/service/src/overseer.rs @@ -82,7 +82,7 @@ where Spawner: 'static + SpawnNamed + Clone + Unpin, { /// Set of initial relay chain leaves to track. - pub leaves: Vec, // TODO: this is no longer needed!!! + pub leaves: Vec, /// The keystore to use for i.e. validator keys. pub keystore: Arc, /// Runtime client generic, providing the `ProvieRuntimeApi` trait besides others.