diff --git a/node/benches/accept.rs b/node/benches/accept.rs index e38a95af15..83218db70b 100644 --- a/node/benches/accept.rs +++ b/node/benches/accept.rs @@ -44,13 +44,8 @@ fn create_step_votes( ) -> StepVotes { let generator = provisioners.get_generator(iteration, seed, round); - let sortition_config = SortitionConfig::new( - seed, - round, - step.to_step(iteration), - 64, - Some(generator), - ); + let sortition_config = + SortitionConfig::new(seed, round, iteration, step, Some(generator)); let committee = Committee::new(provisioners, &sortition_config); diff --git a/node/src/chain/acceptor.rs b/node/src/chain/acceptor.rs index 666ed31d29..bbdb382430 100644 --- a/node/src/chain/acceptor.rs +++ b/node/src/chain/acceptor.rs @@ -22,10 +22,7 @@ use std::sync::Arc; use tokio::sync::RwLock; use tracing::{info, warn}; -use dusk_consensus::quorum::verifiers; - -use dusk_consensus::config; -use dusk_consensus::quorum::verifiers::QuorumResult; +use dusk_consensus::quorum::verifiers::{self, QuorumResult}; use super::consensus::Task; @@ -686,7 +683,6 @@ pub async fn verify_block_cert( curr_seed, &hdr, StepName::Validation, - config::VALIDATION_COMMITTEE_SIZE, enable_quorum_check, ) .await @@ -714,7 +710,6 @@ pub async fn verify_block_cert( curr_seed, &hdr, StepName::Ratification, - config::RATIFICATION_COMMITTEE_SIZE, enable_quorum_check, ) .await