mirror of
https://github.com/ethereum/consensus-specs.git
synced 2026-02-01 23:05:12 -05:00
Fix lint
This commit is contained in:
@@ -387,7 +387,7 @@ def validate_light_client_update(store: LightClientStore,
|
||||
pubkey for (bit, pubkey) in zip(sync_aggregate.sync_committee_bits, sync_committee.pubkeys)
|
||||
if bit
|
||||
]
|
||||
fork_version_slot = max(update.signature_slot, 1) - 1
|
||||
fork_version_slot = max(update.signature_slot, Slot(1)) - Slot(1)
|
||||
fork_version = compute_fork_version(compute_epoch_at_slot(fork_version_slot))
|
||||
domain = compute_domain(DOMAIN_SYNC_COMMITTEE, fork_version, genesis_validators_root)
|
||||
signing_root = compute_signing_root(update.attested_header.beacon, domain)
|
||||
|
||||
Reference in New Issue
Block a user