diff --git a/consensus/src/operations.rs b/consensus/src/operations.rs index cd44bc3fd0..7dddcef629 100644 --- a/consensus/src/operations.rs +++ b/consensus/src/operations.rs @@ -27,7 +27,7 @@ pub struct CallParams { pub block_gas_limit: u64, pub generator_pubkey: node_data::bls::PublicKey, pub missed_generators: Vec, - pub voters_pubkey: Vec, + pub voters_pubkey: Option>, } #[derive(Default)] diff --git a/consensus/src/proposal/block_generator.rs b/consensus/src/proposal/block_generator.rs index 2ae33bd381..0eda263e0d 100644 --- a/consensus/src/proposal/block_generator.rs +++ b/consensus/src/proposal/block_generator.rs @@ -97,7 +97,7 @@ impl Generator { block_gas_limit: config::DEFAULT_BLOCK_GAS_LIMIT, generator_pubkey: ru.pubkey_bls.clone(), missed_generators, - voters_pubkey: voters.to_owned(), + voters_pubkey: Some(voters.to_owned()), }; let result = diff --git a/rusk/benches/block_ingestion.rs b/rusk/benches/block_ingestion.rs index 38eaf31e3a..c07f06d4ec 100644 --- a/rusk/benches/block_ingestion.rs +++ b/rusk/benches/block_ingestion.rs @@ -105,7 +105,7 @@ pub fn accept_benchmark(c: &mut Criterion) { txs, None, &[], - &[], + None, ) .expect("Accepting transactions should succeed");