Permit keypair files for create-validator-storage-account
This commit is contained in:
parent
d59aae4849
commit
c8c0815144
|
@ -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")
|
||||
.takes_value(true)
|
||||
.required(true)
|
||||
.validator(is_pubkey)
|
||||
.validator(is_pubkey_or_keypair)
|
||||
)
|
||||
.arg(
|
||||
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")
|
||||
.takes_value(true)
|
||||
.required(true)
|
||||
.validator(is_pubkey)
|
||||
.validator(is_pubkey_or_keypair)
|
||||
)
|
||||
)
|
||||
.subcommand(
|
||||
|
|
Loading…
Reference in New Issue