Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
WIP
Forked at: 9195fac
Parent branch: origin/master
  • Loading branch information
cecton committed Feb 3, 2020
commit 70f9cd31b16d3bdb5f73490b7aa68ba1b9c805a8
4 changes: 2 additions & 2 deletions bin/node/cli/src/command.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ where
&version,
),
Some(Subcommand::Factory(cli_args)) => {
sc_cli::init(&mut config, load_spec, &cli_args.shared_params, &version)?;

sc_cli::init(&cli_args.shared_params, &version)?;
sc_cli::load_spec(&mut config, &cli_args.shared_params, load_spec)?;
sc_cli::fill_import_params(
&mut config,
&cli_args.import_params,
Expand Down
4 changes: 2 additions & 2 deletions client/service/test/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -183,10 +183,10 @@ fn node_config<G, E: Clone> (
password: None
},
config_dir: Some(root.clone()),
database: DatabaseConfig::Path {
database: Some(DatabaseConfig::Path {
path: root.join("db"),
cache_size: None
},
}),
state_cache_size: 16777216,
state_cache_child_ratio: None,
pruning: Default::default(),
Expand Down