Skip to content

Commit

Permalink
node: fix exclusion list for benches
Browse files Browse the repository at this point in the history
Resolves #2177
  • Loading branch information
herr-seppia committed Aug 22, 2024
1 parent f5c0227 commit 67e7a0e
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions node/benches/accept.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,15 @@ fn create_step_votes(

let generator = provisioners.get_generator(iteration, seed, round);

let sortition_config =
SortitionConfig::new(seed, round, iteration, step, vec![generator]);
let next_generator = provisioners.get_generator(iteration + 1, seed, round);

let sortition_config = SortitionConfig::new(
seed,
round,
iteration,
step,
vec![generator, next_generator],
);

let committee = Committee::new(provisioners, &sortition_config);

Expand Down

0 comments on commit 67e7a0e

Please sign in to comment.