Skip to content

Commit

Permalink
updated input_account_id()
Browse files Browse the repository at this point in the history
  • Loading branch information
FroVolod committed Oct 24, 2023
1 parent 1ebba51 commit 1645264
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/commands/staking/delegate/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ mod withdraw_all;
#[interactive_clap(output_context = DelegateStakeContext)]
pub struct DelegateStake {
#[interactive_clap(skip_default_input_arg)]
/// Enter account ID to stake:
/// Enter the account that you want to manage delegated stake for:
account_id: crate::types::account_id::AccountId,
#[interactive_clap(subcommand)]
delegate_stake_command: DelegateStakingCommand,
Expand Down Expand Up @@ -45,7 +45,7 @@ impl DelegateStake {
) -> color_eyre::eyre::Result<Option<crate::types::account_id::AccountId>> {
crate::common::input_non_signer_account_id_from_used_account_list(
&context.config.credentials_home_dir,
"Enter account ID to stake:",
"Enter the account that you want to manage delegated stake for:",
)
}
}
Expand Down

0 comments on commit 1645264

Please sign in to comment.