From 67e7a0e12212ed6fb1dac0fbf8d3231806d2e109 Mon Sep 17 00:00:00 2001 From: Herr Seppia Date: Thu, 22 Aug 2024 15:19:47 +0200 Subject: [PATCH] node: fix exclusion list for benches Resolves #2177 --- node/benches/accept.rs | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/node/benches/accept.rs b/node/benches/accept.rs index c026c41631..d8d013657c 100644 --- a/node/benches/accept.rs +++ b/node/benches/accept.rs @@ -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);