Add --no-wait option to CLI's stake-authorize command (#17244)

This commit is contained in:
Greg Fitzgerald
2021-05-17 10:54:33 -06:00
committed by GitHub
parent de76adbdf3
commit 3805874c86
3 changed files with 71 additions and 1 deletions

View File

@@ -276,6 +276,7 @@ pub enum CliCommand {
memo: Option<String>,
fee_payer: SignerIndex,
custodian: Option<SignerIndex>,
no_wait: bool,
},
StakeSetLockup {
stake_account_pubkey: Pubkey,
@@ -1679,6 +1680,7 @@ pub fn process_command(config: &CliConfig) -> ProcessResult {
memo,
fee_payer,
custodian,
no_wait,
} => process_stake_authorize(
&rpc_client,
config,
@@ -1692,6 +1694,7 @@ pub fn process_command(config: &CliConfig) -> ProcessResult {
*nonce_authority,
memo.as_ref(),
*fee_payer,
*no_wait,
),
CliCommand::StakeSetLockup {
stake_account_pubkey,