diff --git a/bench-tps/src/cli.rs b/bench-tps/src/cli.rs index 06ad95c44ef8eb..44cbb2a3ea91ca 100644 --- a/bench-tps/src/cli.rs +++ b/bench-tps/src/cli.rs @@ -373,7 +373,7 @@ pub fn build_args<'a>(version: &'_ str) -> App<'a, '_> { .takes_value(true) .requires("json_rpc_url") .validator(is_keypair) - .help("File containing the node id (keypair) of a validator with active stake. This allows communicating with network using staked connection"), + .help("File containing the node identity (keypair) of a validator with active stake. This allows communicating with network using staked connection"), ) } diff --git a/bench-tps/src/main.rs b/bench-tps/src/main.rs index 562d3c90857b40..2a3391a62f6125 100644 --- a/bench-tps/src/main.rs +++ b/bench-tps/src/main.rs @@ -58,7 +58,6 @@ fn find_node_activated_stake( let total_active_stake: u64 = vote_accounts .current .iter() - .chain(vote_accounts.delinquent.iter()) .map(|vote_account| vote_account.activated_stake) .sum();