diff --git a/crates/sui-faucet/src/errors.rs b/crates/sui-faucet/src/errors.rs index 6ad5b9ad58413..b557f92d057cd 100644 --- a/crates/sui-faucet/src/errors.rs +++ b/crates/sui-faucet/src/errors.rs @@ -5,7 +5,7 @@ use thiserror::Error; #[derive(Error, Debug, PartialEq, Eq)] pub enum FaucetError { - #[error("For testnet tokens, please use the Web UI: https://faucet.testnet.sui.io")] + #[error("For testnet tokens, please use the Web UI: https://faucet.sui.io")] NoToken, #[error("Request limit exceeded. {0}")] diff --git a/crates/sui/src/client_commands.rs b/crates/sui/src/client_commands.rs index 2c9865abd24b0..98b6ae5c6f815 100644 --- a/crates/sui/src/client_commands.rs +++ b/crates/sui/src/client_commands.rs @@ -1446,7 +1446,7 @@ impl SuiClientCommands { let url = if let Some(url) = url { if url.starts_with("https://faucet.testnet.sui.io") { bail!( - "For testnet tokens, please use the Web UI: https://faucet.testnet.sui.io/?address={address}" + "For testnet tokens, please use the Web UI: https://faucet.sui.io/?address={address}" ) } @@ -1458,7 +1458,7 @@ impl SuiClientCommands { let network = match env.rpc.as_str() { SUI_DEVNET_URL => "https://faucet.devnet.sui.io/v1/gas", SUI_TESTNET_URL => { - bail!("For testnet tokens, please use the Web UI: https://faucet.testnet.sui.io/?address={address}"); + bail!("For testnet tokens, please use the Web UI: https://faucet.sui.io/?address={address}"); } SUI_LOCAL_NETWORK_URL | SUI_LOCAL_NETWORK_URL_0 => "http://127.0.0.1:9123/gas", _ => bail!("Cannot recognize the active network. Please provide the gas faucet full URL.")