mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-01-12 19:54:34 +00:00
allow fault tolerance equal to threshold, not just above
This commit is contained in:
parent
488bf2c4a0
commit
7a168be862
@ -185,7 +185,7 @@ def process_light_client_update(store: LightClientStore, update: LightClientUpda
|
||||
store.valid_updates.append(update)
|
||||
|
||||
if (
|
||||
sum(update.sync_committee_bits) * 3 > len(update.sync_committee_bits) * 2
|
||||
sum(update.sync_committee_bits) * 3 >= len(update.sync_committee_bits) * 2
|
||||
and update.finality_header != BeaconBlockHeader()
|
||||
):
|
||||
# Apply update if (1) 2/3 quorum is reached and (2) we have a finality proof.
|
||||
|
Loading…
x
Reference in New Issue
Block a user