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 1deaba9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 13 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
1 change: 0 additions & 1 deletion core/src/replay_stage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2071,7 +2071,6 @@ pub(crate) mod tests {
&bank_forks,
&mut progress,
&None,
&mut earliest_vote_on_fork,
&mut PubkeyReferences::default(),
);
assert_eq!(bank_forks.read().unwrap().root(), root);
Expand Down

0 comments on commit 1deaba9

Please sign in to comment.