diff --git a/src/bin/detee-cli.rs b/src/bin/detee-cli.rs index 20cd773..7b538c2 100644 --- a/src/bin/detee-cli.rs +++ b/src/bin/detee-cli.rs @@ -564,7 +564,7 @@ fn clap_cmd() -> Command { "\nBefore adding escrow, make sure you booted a node under your account." + "\nWhen all your nodes got decomissioned, your escrow gets automatically returned.") .default_value("5000") - .value_parser(clap::value_parser!(u64).range(5000..100000)) + .value_parser(clap::value_parser!(u64).range(0..100000)) ) .arg( Arg::new("email") diff --git a/src/constants.rs b/src/constants.rs index d2c589d..828cb83 100644 --- a/src/constants.rs +++ b/src/constants.rs @@ -5,6 +5,7 @@ use std::sync::LazyLock; pub const HRATLS_APP_PORT: u32 = 34500; pub const MAX_REDIRECTS: u16 = 3; + pub const STAGING_BRAIN_URLS: [&str; 3] = [ "https://156.146.63.216:31337", // staging brain 1 "https://156.146.63.216:31337", // staging brain 2 @@ -12,9 +13,9 @@ pub const STAGING_BRAIN_URLS: [&str; 3] = [ ]; pub const TESTNET_BRAIN_URLS: [&str; 3] = [ - "https://184.107.169.199:45223", // testnet brain 1 - "https://149.22.95.1:44522", // testnet brain 2 - "https://149.36.48.99:48638", // testnet brain 3 + "https://156.146.63.218:31337", // testnet brain 1 + "https://156.146.63.218:31337", // testnet brain 2 + "https://156.146.63.218:31337", // testnet brain 3 ]; pub static BRAIN_STAGING: LazyLock<&str> = diff --git a/src/general/operators.rs b/src/general/operators.rs index 229508a..ff09e29 100644 --- a/src/general/operators.rs +++ b/src/general/operators.rs @@ -18,7 +18,7 @@ impl From for TabledOperator { fn from(brain_operator: grpc::proto::ListOperatorsResp) -> Self { TabledOperator { wallet: brain_operator.pubkey, - escrow: brain_operator.escrow, + escrow: brain_operator.escrow / 1_000_000_000, email: brain_operator.email, app_nodes: brain_operator.app_nodes, vm_nodes: brain_operator.vm_nodes,