Support passphrases in keygen (#7134)

* Support passphrases in keygen

* remove short

* Update solana_keygen calls
This commit is contained in:
Justin Starry
2019-11-25 23:33:15 -05:00
committed by Michael Vines
parent 9b3a1a99e5
commit eaa3e87eb0
11 changed files with 49 additions and 32 deletions

View File

@ -42,7 +42,7 @@ impl KeypairWithSource {
}
/// Reads user input from stdin to retrieve a seed phrase and passphrase for keypair derivation
pub(crate) fn keypair_from_seed_phrase(
pub fn keypair_from_seed_phrase(
keypair_name: &str,
skip_validation: bool,
) -> Result<Keypair, Box<dyn error::Error>> {