mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-20 22:38:34 +00:00
Remove unused params
This commit is contained in:
@@ -391,10 +391,7 @@ impl ProtoArray {
|
||||
mut deltas: Vec<NodeDelta>,
|
||||
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 {
|
||||
|
||||
@@ -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))?;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user