Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed incentives form url #451

Merged
merged 1 commit into from
Nov 13, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions gateway/src/commands/init.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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 changes: 0 additions & 9 deletions mixnode/src/commands/init.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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>()) {
Expand Down Expand Up @@ -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();
})
}