mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-01-12 11:44:41 +00:00
Update specs/lightclient/beacon-chain.md
Co-authored-by: Alex Stokes <r.alex.stokes@gmail.com>
This commit is contained in:
parent
7c6ede5eac
commit
9e3690ad17
@ -154,7 +154,7 @@ def process_light_client_signature(state: BeaconState, block_body: BeaconBlockBo
|
||||
previous_slot = max(state.slot, 1) - 1
|
||||
previous_block_root = get_block_root_at_slot(state, previous_slot)
|
||||
|
||||
# Light clients sign over the previous block root
|
||||
# Light client committees sign over the previous block root
|
||||
signing_root = compute_signing_root(
|
||||
previous_block_root,
|
||||
get_domain(state, DOMAIN_LIGHT_CLIENT, compute_epoch_at_slot(previous_slot))
|
||||
@ -205,4 +205,3 @@ def process_light_client_committee_updates(state: BeaconState) -> None:
|
||||
state.next_light_committee = committee_to_compact_committee(state, new_committee)
|
||||
```
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user