From 66f71b3f22640178c861bfb313cd65b8d98e8e19 Mon Sep 17 00:00:00 2001 From: Michael Sproul Date: Thu, 26 Mar 2026 10:01:33 +1100 Subject: [PATCH] Remove unused params --- consensus/proto_array/src/proto_array.rs | 3 --- consensus/proto_array/src/proto_array_fork_choice.rs | 3 --- 2 files changed, 6 deletions(-) diff --git a/consensus/proto_array/src/proto_array.rs b/consensus/proto_array/src/proto_array.rs index 43c6d74962..8ae8d20234 100644 --- a/consensus/proto_array/src/proto_array.rs +++ b/consensus/proto_array/src/proto_array.rs @@ -391,10 +391,7 @@ impl ProtoArray { mut deltas: Vec, best_justified_checkpoint: Checkpoint, best_finalized_checkpoint: Checkpoint, - _new_justified_balances: &JustifiedBalances, - _proposer_boost_root: Hash256, current_slot: Slot, - _spec: &ChainSpec, ) -> Result<(), Error> { if deltas.len() != self.indices.len() { return Err(Error::InvalidDeltaLen { diff --git a/consensus/proto_array/src/proto_array_fork_choice.rs b/consensus/proto_array/src/proto_array_fork_choice.rs index 4be77b61ad..94660f24ff 100644 --- a/consensus/proto_array/src/proto_array_fork_choice.rs +++ b/consensus/proto_array/src/proto_array_fork_choice.rs @@ -658,10 +658,7 @@ impl ProtoArrayForkChoice { deltas, justified_checkpoint, finalized_checkpoint, - new_balances, - proposer_boost_root, current_slot, - spec, ) .map_err(|e| format!("find_head apply_score_changes failed: {:?}", e))?;