Compare commits

..

2 Commits

Author SHA1 Message Date
680b51f0cf shorten UUIDs (not sure about this one) 2025-03-31 15:43:07 +00:00
896884a1e1 change testing to testnet 2025-03-31 15:42:43 +00:00

@ -60,7 +60,7 @@ pub struct Config {
fn default_network() -> String { fn default_network() -> String {
// default to testnet // default to testnet
// TODO: remove instruction from docs to set brain_url, since it defaults now // TODO: remove instruction from docs to set brain_url, since it defaults now
"testing".to_string() "testnet".to_string()
} }
#[derive(thiserror::Error, Debug)] #[derive(thiserror::Error, Debug)]
@ -355,7 +355,7 @@ impl Config {
} }
pub fn set_network(mut network: &str) { pub fn set_network(mut network: &str) {
if network != "staging" { if network != "staging" && network != "testnet" {
log::error!( log::error!(
"The network {network} is not officially supported. Defaulting to testnet!" "The network {network} is not officially supported. Defaulting to testnet!"
); );