Skip to content

Commit

Permalink
Delete cautios change note on db_config_dir fn
Browse files Browse the repository at this point in the history
  • Loading branch information
NunoAlexandre committed Nov 2, 2023
1 parent b617027 commit c26da52
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/service/evm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -159,12 +159,6 @@ impl<B: BlockT, I, C> ParachainBlockImportMarker for BlockImport<B, I, C> {}

fn db_config_dir(config: &Configuration) -> PathBuf {
config.base_path.config_dir(config.chain_spec.id())

// todo!("nuno/reviews: not sure when this unwrap_or_else was ever called if
// `config.base_path` always returns? .unwrap_or_else(|| {
// BasePath::from_project("", "", &Cli::executable_name())
// .config_dir(config.chain_spec.id())
// })
}

/// Starts a `ServiceBuilder` for a full service.
Expand Down

0 comments on commit c26da52

Please sign in to comment.