Update specs/lightclient/beacon-chain.md

Co-authored-by: Alex Stokes <r.alex.stokes@gmail.com>
This commit is contained in:
vbuterin 2020-11-13 10:19:37 +08:00 committed by GitHub
parent 7c6ede5eac
commit 9e3690ad17
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)
```