Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

Commit

Permalink
pr: remove CliConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
brooksprumo committed Jul 20, 2022
1 parent 3c7c6b7 commit 49c3e32
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion cli/src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1306,7 +1306,7 @@ pub fn process_command(config: &CliConfig) -> ProcessResult {
*fee_payer,
),
CliCommand::StakeMinimumDelegation { use_lamports_unit } => {
process_stake_minimum_delegation(&rpc_client, config, *use_lamports_unit)
process_stake_minimum_delegation(&rpc_client, *use_lamports_unit)
}

// Validator Info Commands
Expand Down
1 change: 0 additions & 1 deletion cli/src/stake.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2523,7 +2523,6 @@ pub fn process_delegate_stake(

pub fn process_stake_minimum_delegation(
rpc_client: &RpcClient,
_config: &CliConfig, // bprumo TODO: am I supposed to use the config somewhere?
use_lamports_unit: bool,
) -> ProcessResult {
let stake_minimum_delegation = rpc_client.get_stake_minimum_delegation()?;
Expand Down

0 comments on commit 49c3e32

Please sign in to comment.