ReplayStage fixes (#9271) (#9279)

automerge
This commit is contained in:
carllin
2020-04-02 21:05:33 -07:00
committed by GitHub
parent c5b2db72a2
commit 0139236464
2 changed files with 83 additions and 149 deletions

View File

@@ -358,11 +358,12 @@ impl Tower {
pub(crate) fn check_switch_threshold(
&self,
_slot: u64,
_slot: Slot,
_ancestors: &HashMap<Slot, HashSet<u64>>,
_descendants: &HashMap<Slot, HashSet<u64>>,
_progress: &ProgressMap,
_total_stake: u64,
_total_epoch_stake: u64,
_epoch_vote_accounts: &HashMap<Pubkey, (u64, Account)>,
) -> bool {
true
}
@@ -647,7 +648,6 @@ pub mod test {
bank_forks,
progress,
&None,
&mut 0,
&mut HashSet::new(),
);
}