Allow secure keypair input for solana-archiver
and solana
cli tools (#7106)
* Add seed phrase keypair recover to archiver * Add seed phrase keypair to cli with ASK keyword * cli main tweaks
This commit is contained in:
@@ -41,7 +41,7 @@ impl StakeSubCommands for App<'_, '_> {
|
||||
.value_name("STAKE ACCOUNT")
|
||||
.takes_value(true)
|
||||
.required(true)
|
||||
.validator(is_keypair)
|
||||
.validator(is_keypair_or_ask_keyword)
|
||||
.help("Keypair of the stake account to fund")
|
||||
)
|
||||
.arg(
|
||||
|
Reference in New Issue
Block a user