mirror of
https://github.com/mimblewimble/grin.git
synced 2025-01-21 11:31:08 +03:00
Remove temporary BIP32 note (#2115)
* Remove temporary BIP32 note * Rustfmt
This commit is contained in:
parent
e24e087fd1
commit
ec9cdf0ecd
1 changed files with 1 additions and 11 deletions
|
@ -47,17 +47,7 @@ pub enum ParseError {
|
||||||
|
|
||||||
pub fn prompt_password(password: &Option<String>) -> String {
|
pub fn prompt_password(password: &Option<String>) -> String {
|
||||||
match password {
|
match password {
|
||||||
None => {
|
None => rpassword::prompt_password_stdout("Password: ").unwrap(),
|
||||||
println!("Temporary note:");
|
|
||||||
println!(
|
|
||||||
"If this is your first time running your wallet since BIP32 (word lists) \
|
|
||||||
were implemented, your seed will be converted to \
|
|
||||||
the new format. Please ensure the provided password is correct."
|
|
||||||
);
|
|
||||||
println!("If this goes wrong, your old 'wallet.seed' file has been saved as 'wallet.seed.bak' \
|
|
||||||
Rename this file to back to `wallet.seed` and try again");
|
|
||||||
rpassword::prompt_password_stdout("Password: ").unwrap()
|
|
||||||
}
|
|
||||||
Some(p) => p.to_owned(),
|
Some(p) => p.to_owned(),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue