Skip to content

Commit

Permalink
disable init mainnet and testnet.
Browse files Browse the repository at this point in the history
  • Loading branch information
EthanYuan committed Jul 25, 2024
1 parent b6d1aae commit 84ef305
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resource/src/template.rs
Original file line number Diff line number Diff line change
@@ -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*.
Expand Down

0 comments on commit 84ef305

Please sign in to comment.