Remove get_stake placeholder

This commit is contained in:
Greg Fitzgerald
2019-01-23 15:25:54 -08:00
committed by Grimes
parent 6aa80e431d
commit aba9df8457
5 changed files with 4 additions and 10 deletions

View File

@@ -60,7 +60,7 @@ impl ComputeLeaderConfirmationService {
let mut ticks_and_stakes: Vec<(u64, u64)> = vote_states
.iter()
.filter_map(|vote_state| {
let validator_stake = bank.get_stake(&vote_state.node_id);
let validator_stake = bank.get_balance(&vote_state.node_id);
total_stake += validator_stake;
// Filter out any validators that don't have at least one vote
// by returning None