File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
standalone/chain/node/src Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -57,10 +57,10 @@ impl SubstrateCli for Cli {
5757
5858 fn load_spec ( & self , id : & str ) -> std:: result:: Result < Box < dyn sc_service:: ChainSpec > , String > {
5959 let spec = match id {
60- "" | "cess-testnet" => Box :: new ( chain_spec:: cess_testnet_config ( ) ) ,
61- "cess-initial- devnet" => Box :: new ( chain_spec:: cess_devnet_generate_config ( ) ) ,
62- "cess-devnet" => Box :: new ( chain_spec:: cess_devnet_config ( ) ) ,
63- "cess-initial-testnet" => Box :: new ( chain_spec:: cess_testnet ( ) ) ,
60+ "testnet " | "cess-testnet" | " " => Box :: new ( chain_spec:: cess_testnet_config ( ) ) ,
61+ "devnet" | " cess-devnet" => Box :: new ( chain_spec:: cess_devnet_config ( ) ) ,
62+ "initial-devnet" | " cess-initial- devnet" => Box :: new ( chain_spec:: cess_devnet_generate_config ( ) ) ,
63+ "initial-testnet" | " cess-initial-testnet" => Box :: new ( chain_spec:: cess_testnet ( ) ) ,
6464 "dev" => Box :: new ( chain_spec:: development_config ( ) ) ,
6565 "local" => Box :: new ( chain_spec:: local_testnet_config ( ) ) ,
6666 path => Box :: new ( chain_spec:: ChainSpec :: from_json_file ( std:: path:: PathBuf :: from ( path) ) ?) ,
You can’t perform that action at this time.
0 commit comments