Permit keypair files for create-validator-storage-account

This commit is contained in:
Michael Vines 2019-08-10 13:15:29 -07:00
parent d59aae4849
commit c8c0815144
No known key found for this signature in database
GPG Key ID: 33F4FDEC4E0E88BD
1 changed files with 2 additions and 2 deletions

View File

@ -1780,7 +1780,7 @@ pub fn app<'ab, 'v>(name: &str, about: &'ab str, version: &'v str) -> App<'ab, '
.value_name("STORAGE ACCOUNT OWNER PUBKEY") .value_name("STORAGE ACCOUNT OWNER PUBKEY")
.takes_value(true) .takes_value(true)
.required(true) .required(true)
.validator(is_pubkey) .validator(is_pubkey_or_keypair)
) )
.arg( .arg(
Arg::with_name("storage_account_pubkey") Arg::with_name("storage_account_pubkey")
@ -1788,7 +1788,7 @@ pub fn app<'ab, 'v>(name: &str, about: &'ab str, version: &'v str) -> App<'ab, '
.value_name("STORAGE ACCOUNT PUBKEY") .value_name("STORAGE ACCOUNT PUBKEY")
.takes_value(true) .takes_value(true)
.required(true) .required(true)
.validator(is_pubkey) .validator(is_pubkey_or_keypair)
) )
) )
.subcommand( .subcommand(