mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-08 09:16:00 +00:00
Remove unused params
This commit is contained in:
@@ -391,10 +391,7 @@ impl ProtoArray {
|
|||||||
mut deltas: Vec<NodeDelta>,
|
mut deltas: Vec<NodeDelta>,
|
||||||
best_justified_checkpoint: Checkpoint,
|
best_justified_checkpoint: Checkpoint,
|
||||||
best_finalized_checkpoint: Checkpoint,
|
best_finalized_checkpoint: Checkpoint,
|
||||||
_new_justified_balances: &JustifiedBalances,
|
|
||||||
_proposer_boost_root: Hash256,
|
|
||||||
current_slot: Slot,
|
current_slot: Slot,
|
||||||
_spec: &ChainSpec,
|
|
||||||
) -> Result<(), Error> {
|
) -> Result<(), Error> {
|
||||||
if deltas.len() != self.indices.len() {
|
if deltas.len() != self.indices.len() {
|
||||||
return Err(Error::InvalidDeltaLen {
|
return Err(Error::InvalidDeltaLen {
|
||||||
|
|||||||
@@ -658,10 +658,7 @@ impl ProtoArrayForkChoice {
|
|||||||
deltas,
|
deltas,
|
||||||
justified_checkpoint,
|
justified_checkpoint,
|
||||||
finalized_checkpoint,
|
finalized_checkpoint,
|
||||||
new_balances,
|
|
||||||
proposer_boost_root,
|
|
||||||
current_slot,
|
current_slot,
|
||||||
spec,
|
|
||||||
)
|
)
|
||||||
.map_err(|e| format!("find_head apply_score_changes failed: {:?}", e))?;
|
.map_err(|e| format!("find_head apply_score_changes failed: {:?}", e))?;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user