Skip to content
Snippets Groups Projects
Commit c7916153 authored by Marcio Diaz's avatar Marcio Diaz Committed by Bastian Köcher
Browse files

Fix db path on normal run. (#4254)

parent a924230c
Branches
No related merge requests found
......@@ -804,9 +804,7 @@ where
E: ChainSpecExtension,
S: FnOnce(&str) -> Result<Option<ChainSpec<G, E>>, String>,
{
let spec = load_spec(&cli.shared_params, spec_factory)?;
let base_path = base_path(&cli.shared_params, &version);
let mut config = service::Configuration::default_with_spec_and_base_path(spec.clone(), Some(base_path));
let mut config = create_config_with_db_path(spec_factory, &cli.shared_params, &version)?;
fill_config_keystore_password(&mut config, &cli)?;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment