mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-30 04:37:13 +00:00
Merge remote-tracking branch 'origin/unstable' into fc-compliance
This commit is contained in:
@@ -701,11 +701,9 @@ impl ProtoArray {
|
||||
justified_balances: &JustifiedBalances,
|
||||
spec: &ChainSpec,
|
||||
) -> bool {
|
||||
let reorg_threshold = calculate_committee_fraction::<E>(
|
||||
justified_balances,
|
||||
spec.reorg_head_weight_threshold.unwrap_or(20),
|
||||
)
|
||||
.unwrap_or(0);
|
||||
let reorg_threshold =
|
||||
calculate_committee_fraction::<E>(justified_balances, spec.reorg_head_weight_threshold)
|
||||
.unwrap_or(0);
|
||||
|
||||
let head_weight = head_node
|
||||
.attestation_score(PayloadStatus::Pending)
|
||||
|
||||
Reference in New Issue
Block a user