Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
carllin committed Apr 13, 2020
1 parent c325ee6 commit b1e9996
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion core/src/consensus.rs
Original file line number Diff line number Diff line change
Expand Up @@ -771,7 +771,7 @@ pub mod test {
) {
self.progress
.entry(slot)
.or_insert_with(|| ForkProgress::new(Hash::default(), None, None))
.or_insert_with(|| ForkProgress::new(Hash::default(), None, None, 0, 0))
.fork_stats
.lockout_intervals
.entry(lockout_interval.1)
Expand Down
1 change: 0 additions & 1 deletion core/src/progress_map.rs
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ pub(crate) struct ForkProgress {
// so these stats do not span all of time
pub(crate) num_blocks_on_fork: u64,
pub(crate) num_dropped_blocks_on_fork: u64,
pub(crate) stake_ranges: StakeRanges,
}

impl ForkProgress {
Expand Down
2 changes: 1 addition & 1 deletion core/src/replay_stage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2758,7 +2758,7 @@ pub(crate) mod tests {
&VoteTracker::default(),
&ClusterSlots::default(),
&vote_simulator.bank_forks,
&mut HashSet::new(),
&mut PubkeyReferences::default(),
);

assert_eq!(
Expand Down

0 comments on commit b1e9996

Please sign in to comment.