Update secret key input text
Co-authored-by: Conrado Gouvea <conrado@zfnd.org>
This commit is contained in:
parent
2bba8bfa15
commit
28359ee3e0
|
@ -45,7 +45,7 @@ pub fn request_inputs(input: &mut impl BufRead) -> Result<Config, Error> {
|
||||||
.parse::<u16>()
|
.parse::<u16>()
|
||||||
.map_err(|_| Error::InvalidMaxSigners)?;
|
.map_err(|_| Error::InvalidMaxSigners)?;
|
||||||
|
|
||||||
println!("Secret key (if you don't have one then press enter): ");
|
println!("Secret key (press enter to randomly generate a fresh one): ");
|
||||||
|
|
||||||
let mut secret_input = String::new();
|
let mut secret_input = String::new();
|
||||||
input.read_line(&mut secret_input).unwrap();
|
input.read_line(&mut secret_input).unwrap();
|
||||||
|
|
Loading…
Reference in New Issue