change testing to testnet

This commit is contained in:
ghe0 2025-03-31 15:42:43 +00:00
parent 51ceb4a245
commit 896884a1e1

@ -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!"
);