Enable multiple lockup fields to be set at once (#9831)

automerge
This commit is contained in:
Tyera Eulberg 2020-04-30 23:17:23 -06:00 committed by GitHub
parent 8dfe0affd4
commit db8011f4f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -335,6 +335,7 @@ impl StakeSubCommands for App<'_, '_> {
)
.group(ArgGroup::with_name("lockup_details")
.args(&["lockup_epoch", "lockup_date", "new_custodian"])
.multiple(true)
.required(true))
.arg(
Arg::with_name("custodian")