Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
Remove TODOs
Browse files Browse the repository at this point in the history
  • Loading branch information
tdimitrov committed Feb 9, 2023
1 parent bade945 commit 447698d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion node/overseer/src/dummy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down
2 changes: 1 addition & 1 deletion node/service/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1067,7 +1067,7 @@ where
.generate::<service::SpawnTaskHandle, FullClient<RuntimeApi, ExecutorDispatch>>(
overseer_connector,
OverseerGenArgs {
leaves: active_leaves, // TODO: this is no longer needed!!!
leaves: active_leaves,
keystore,
runtime_client: overseer_client.clone(),
parachains_db,
Expand Down
2 changes: 1 addition & 1 deletion node/service/src/overseer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ where
Spawner: 'static + SpawnNamed + Clone + Unpin,
{
/// Set of initial relay chain leaves to track.
pub leaves: Vec<BlockInfo>, // TODO: this is no longer needed!!!
pub leaves: Vec<BlockInfo>,
/// The keystore to use for i.e. validator keys.
pub keystore: Arc<LocalKeystore>,
/// Runtime client generic, providing the `ProvieRuntimeApi` trait besides others.
Expand Down

0 comments on commit 447698d

Please sign in to comment.