Skip to content

Commit

Permalink
use solana_sdk::feature_set
Browse files Browse the repository at this point in the history
  • Loading branch information
AshwinSekar committed Nov 26, 2024
1 parent 0f7dcc4 commit 0acdd15
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cli/src/vote.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1239,8 +1239,8 @@ pub fn process_show_vote_account(
get_vote_account(rpc_client, vote_account_address, config.commitment)?;

let epoch_schedule = rpc_client.get_epoch_schedule()?;
let tvc_activation_slot =
rpc_client.get_feature_activation_slot(&solana_feature_set::timely_vote_credits::id())?;
let tvc_activation_slot = rpc_client
.get_feature_activation_slot(&solana_sdk::feature_set::timely_vote_credits::id())?;
let tvc_activation_epoch = tvc_activation_slot.map(|s| epoch_schedule.get_epoch(s));

let mut votes: Vec<CliLandedVote> = vec![];
Expand Down

0 comments on commit 0acdd15

Please sign in to comment.