mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 01:11:10 +00:00
Fix db path on normal run. (#4254)
This commit is contained in:
committed by
Bastian Köcher
parent
a924230ccb
commit
c791615387
@@ -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)?;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user