Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
dapplion committed May 30, 2024
1 parent 7590494 commit 7a4e44b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion beacon_node/beacon_processor/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ impl BeaconProcessorQueueLengths {
let active_validator_count = state
.get_active_validator_indices(state.slot().epoch(E::slots_per_epoch()), spec)
.map_err(|e| format!("Error computing active indices: {:?}", e))?
.len() as usize;
.len();
let slots_per_epoch = E::slots_per_epoch() as usize;

Ok(Self {
Expand Down Expand Up @@ -736,6 +736,7 @@ impl<E: EthSpec> BeaconProcessor<E> {
///
/// The optional `work_journal_tx` allows for an outside process to receive a log of all work
/// events processed by `self`. This should only be used during testing.
#[allow(clippy::too_many_arguments)]
pub fn spawn_manager<S: SlotClock + 'static>(
mut self,
event_rx: mpsc::Receiver<WorkEvent<E>>,
Expand Down

0 comments on commit 7a4e44b

Please sign in to comment.