From d2e17c56a3c5d1d2a5e07671d04b28ab6f80d320 Mon Sep 17 00:00:00 2001 From: EthanYuan Date: Thu, 18 Jul 2024 22:43:17 +0800 Subject: [PATCH] disable init mainnet and testnet. --- resource/src/template.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resource/src/template.rs b/resource/src/template.rs index 319b09bf95..ca3f133e28 100644 --- a/resource/src/template.rs +++ b/resource/src/template.rs @@ -1,7 +1,7 @@ /// Default chain spec. -pub const DEFAULT_SPEC: &str = "mainnet"; +pub const DEFAULT_SPEC: &str = "dev"; /// The list of bundled chain specs. -pub const AVAILABLE_SPECS: &[&str] = &["mainnet", "testnet", "staging", "dev"]; +pub const AVAILABLE_SPECS: &[&str] = &["dev"]; /// The default RPC listen port *8114*. pub const DEFAULT_RPC_PORT: &str = "8114"; /// The default P2P listen port *8115*.