diff --git a/sn_auditor/src/main.rs b/sn_auditor/src/main.rs index 0c37136c57..422158eeb4 100644 --- a/sn_auditor/src/main.rs +++ b/sn_auditor/src/main.rs @@ -65,10 +65,10 @@ struct Opt { #[clap(short, long, value_name = "discord_names_file")] beta_participants: Option, - /// Hex string of the Foundation SK used to decrypt discord usernames - /// found in the DAG for the beta program - #[clap(name = "sk")] - sk_str: Option, + /// Secret encryption key of the beta rewards to decypher + /// discord usernames of the beta participants + #[clap(short = 'k', long, value_name = "hex_secret_key")] + beta_encryption_key: Option, } #[tokio::main] @@ -95,7 +95,7 @@ async fn main() -> Result<()> { Vec::new() }; - let maybe_sk = if let Some(sk_str) = opt.sk_str { + let maybe_sk = if let Some(sk_str) = opt.beta_encryption_key { match SecretKey::from_hex(&sk_str) { Ok(sk) => Some(sk), Err(err) => panic!("Cann't parse Foundation SK from input string: {sk_str}: {err:?}",),