Removed incentives form url (#451)

This commit is contained in:
Jędrzej Stuczyński
2020-11-13 10:58:01 +00:00
committed by GitHub
parent 4e7dbd93ed
commit 3f86919d44
2 changed files with 0 additions and 19 deletions
-10
View File
@@ -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();
}
-9
View File
@@ -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::<u64>()) {
@@ -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();
})
}