From 896884a1e1992edc08e04052fecf08a2ace8a2cb Mon Sep 17 00:00:00 2001 From: ghe0 Date: Mon, 31 Mar 2025 15:42:43 +0000 Subject: [PATCH] change testing to testnet --- src/config.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/config.rs b/src/config.rs index 6c09d2b..9229c36 100644 --- a/src/config.rs +++ b/src/config.rs @@ -60,7 +60,7 @@ pub struct Config { fn default_network() -> String { // default to testnet // TODO: remove instruction from docs to set brain_url, since it defaults now - "testing".to_string() + "testnet".to_string() } #[derive(thiserror::Error, Debug)] @@ -355,7 +355,7 @@ impl Config { } pub fn set_network(mut network: &str) { - if network != "staging" { + if network != "staging" && network != "testnet" { log::error!( "The network {network} is not officially supported. Defaulting to testnet!" );