Browse Source

reenter passphrase message

fix-typo
Coin de Gamma 5 months ago
parent
commit
2dfe467b4d
  1. 2
      src/main.rs

2
src/main.rs

@ -98,7 +98,7 @@ impl MPS {
if ps.len() > 32 { if ps.len() > 32 {
return Err(io::Error::new(io::ErrorKind::InvalidInput, "Passphrase must not be longer than 32 letters")); return Err(io::Error::new(io::ErrorKind::InvalidInput, "Passphrase must not be longer than 32 letters"));
} }
print!("Reenter passphrase: "); print!("Enter same passphrase again: ");
io::stdout().flush()?; io::stdout().flush()?;
let ps2 = rpassword::read_password()?; let ps2 = rpassword::read_password()?;
if ps != ps2 { if ps != ps2 {

Loading…
Cancel
Save