git.delta.rocks / unique-network / refs/commits / 41ee0468c32f

difftreelog

revert command.rs

Igor Kozyrev2021-09-20parent: #1c142c5.patch.diff
in: master

1 file changed

modifiednode/cli/src/command.rsdiffbeforeafterboth
43) -> std::result::Result<Box<dyn sc_service::ChainSpec>, String> {43) -> std::result::Result<Box<dyn sc_service::ChainSpec>, String> {
44 Ok(match id {44 Ok(match id {
45 "dev" => Box::new(chain_spec::development_config(para_id)),45 "dev" => Box::new(chain_spec::development_config(para_id)),
46 "westend-local" => Box::new(chain_spec::westend_local_testnet_config(para_id)),
47 "" | "local" => Box::new(chain_spec::rococo_local_testnet_config(para_id)),46 "" | "local" => Box::new(chain_spec::local_testnet_config(para_id)),
48 path => Box::new(chain_spec::ChainSpec::from_json_file(47 path => Box::new(chain_spec::ChainSpec::from_json_file(
49 std::path::PathBuf::from(path),48 std::path::PathBuf::from(path),
50 )?),49 )?),