From 463699be7431a251c21e10c884d86f5d9ad783ee Mon Sep 17 00:00:00 2001 From: jstuczyn Date: Fri, 13 Nov 2020 10:56:54 +0000 Subject: [PATCH] Removed incentives form url --- gateway/src/commands/init.rs | 10 ---------- mixnode/src/commands/init.rs | 9 --------- 2 files changed, 19 deletions(-) diff --git a/gateway/src/commands/init.rs b/gateway/src/commands/init.rs index 245d340fa15..e6ca156fe19 100644 --- a/gateway/src/commands/init.rs +++ b/gateway/src/commands/init.rs @@ -111,14 +111,6 @@ pub fn command_args<'a, 'b>() -> clap::App<'a, 'b> { ) } -fn show_incentives_url() { - println!("\n##### NOTE #####"); - println!( - "\nIf you would like to join our testnet incentives program, please visit https://nymtech.net/incentives" - ); - println!("\n\n"); -} - pub fn execute(matches: &ArgMatches) { let id = matches.value_of("id").unwrap(); println!("Initialising gateway {}...", id); @@ -167,6 +159,4 @@ pub fn execute(matches: &ArgMatches) { println!("Saved configuration file to {:?}", config_save_location); println!("Gateway configuration completed.\n\n\n"); - - show_incentives_url(); } diff --git a/mixnode/src/commands/init.rs b/mixnode/src/commands/init.rs index a74cb5a26f1..e178ee8f91a 100644 --- a/mixnode/src/commands/init.rs +++ b/mixnode/src/commands/init.rs @@ -90,14 +90,6 @@ pub fn command_args<'a, 'b>() -> clap::App<'a, 'b> { ) } -fn show_incentives_url() { - println!("\n##### NOTE #####"); - println!( - "\nIf you would like to join our testnet incentives program, please visit https://nymtech.net/incentives" - ); - println!("\n\n"); -} - async fn choose_layer(matches: &ArgMatches<'_>, validator_server: String) -> u64 { let max_layer = DEFAULT_NUM_MIX_HOPS; if let Some(layer) = matches.value_of("layer").map(|layer| layer.parse::()) { @@ -192,6 +184,5 @@ pub fn execute(matches: &ArgMatches) { .expect("Failed to save the config file"); println!("Saved configuration file to {:?}", config_save_location); println!("Mixnode configuration completed.\n\n\n"); - show_incentives_url(); }) }