Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
carllin committed Apr 27, 2020
1 parent c366425 commit 682be67
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/src/progress_map.rs
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ impl ProgressMap {
}
}

#[cfg(tesst)]
#[cfg(test)]
pub fn is_confirmed(&self, slot: Slot) -> Option<bool> {
self.progress_map
.get(&slot)
Expand Down
5 changes: 4 additions & 1 deletion core/src/replay_stage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2355,7 +2355,10 @@ pub(crate) mod tests {
bank_forks.write().unwrap().insert(root_bank);
let mut progress = ProgressMap::default();
for i in 0..=root {
progress.insert(i, ForkProgress::new(Hash::default(), None, None, 0, 0));
progress.insert(
i,
ForkProgress::new(Hash::default(), None, DuplicateStats::default(), None, 0, 0),
);
}
ReplayStage::handle_new_root(
root,
Expand Down

0 comments on commit 682be67

Please sign in to comment.