Skip to content

Commit

Permalink
rebase cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
arun-koshy committed May 8, 2024
1 parent 6b165ff commit 10a2474
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion consensus/core/src/core.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1269,7 +1269,7 @@ mod test {
1
);
let expected_reputation_scores =
ReputationScores::new((11..20).into(), vec![8, 8, 9, 8]);
ReputationScores::new((11..21).into(), vec![8, 8, 9, 8]);
assert_eq!(
core.leader_schedule
.leader_swap_table
Expand Down
2 changes: 1 addition & 1 deletion consensus/core/src/leader_schedule.rs
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@ mod tests {

// The CommitInfo for the first 10 commits are written to store. This is the
// info that LeaderSchedule will be recovered from
let commit_range = (1..10).into();
let commit_range = (1..11).into();
let reputation_scores = ReputationScores::new(commit_range, vec![4, 1, 1, 3]);
let committed_rounds = vec![9, 9, 10, 9];
let commit_ref = CommitRef::new(10, CommitDigest::MIN);
Expand Down
2 changes: 1 addition & 1 deletion consensus/core/src/leader_scoring.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

use std::{
cmp::Ordering,
collections::{BTreeMap, HashMap, HashSet},
collections::{BTreeMap, HashMap},
fmt::Debug,
ops::Bound::{Excluded, Included},
sync::Arc,
Expand Down

0 comments on commit 10a2474

Please sign in to comment.