difftreelog
revert command.rs
in: master
1 file changed
node/cli/src/command.rsdiffbeforeafterboth43) -> 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 )?),