Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
carllin committed Apr 3, 2020
1 parent 7567328 commit 08b4b28
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions core/src/consensus.rs
Original file line number Diff line number Diff line change
Expand Up @@ -455,18 +455,6 @@ impl Tower {
}
}

pub(crate) fn check_switch_threshold(
&self,
_slot: Slot,
_ancestors: &HashMap<Slot, HashSet<u64>>,
_descendants: &HashMap<Slot, HashSet<u64>>,
_progress: &ProgressMap,
_total_epoch_stake: u64,
_epoch_vote_accounts: &HashMap<Pubkey, (u64, Account)>,
) -> bool {
true
}

/// Update lockouts for all the ancestors
fn update_ancestor_lockouts(
stake_lockouts: &mut HashMap<Slot, StakeLockout>,
Expand Down

0 comments on commit 08b4b28

Please sign in to comment.