From 6aada422ec91f96b082b84e7f89afd6183b215ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C4=99drzej=20Stuczy=C5=84ski?= Date: Thu, 10 Sep 2020 14:08:48 +0100 Subject: [PATCH] placeholder contact form url (#334) * placeholder contact form url * Gateway URL update * Mixnode url update --- gateway/src/commands/init.rs | 12 +++++++++++- mixnode/src/commands/init.rs | 12 +++++++++++- 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/gateway/src/commands/init.rs b/gateway/src/commands/init.rs index 888663563d..7e469cc116 100644 --- a/gateway/src/commands/init.rs +++ b/gateway/src/commands/init.rs @@ -104,6 +104,14 @@ 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); @@ -141,5 +149,7 @@ pub fn execute(matches: &ArgMatches) { .expect("Failed to save the config file"); println!("Saved configuration file to {:?}", config_save_location); - println!("Gateway configuration completed.\n\n\n") + 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 fb2d973e76..8412471256 100644 --- a/mixnode/src/commands/init.rs +++ b/mixnode/src/commands/init.rs @@ -74,6 +74,14 @@ 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 mixnode {}...", id); @@ -102,5 +110,7 @@ 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") + println!("Mixnode configuration completed.\n\n\n"); + + show_incentives_url(); }