Skip to content

Commit

Permalink
Merge pull request #2797 from etan-status/lc-update-doc
Browse files Browse the repository at this point in the history
Fix light client docs to match function signature
  • Loading branch information
djrtwo authored Jan 11, 2022
2 parents 80c8de1 + 79c456b commit 7b435bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion specs/altair/sync-protocol.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def get_safety_threshold(store: LightClientStore) -> uint64:

## Light client state updates

A light client maintains its state in a `store` object of type `LightClientStore` and receives `update` objects of type `LightClientUpdate`. Every `update` triggers `process_light_client_update(store, update, current_slot)` where `current_slot` is the current slot based on some local clock. `process_slot_for_light_client_store` is processed every time the current slot increments.
A light client maintains its state in a `store` object of type `LightClientStore` and receives `update` objects of type `LightClientUpdate`. Every `update` triggers `process_light_client_update(store, update, current_slot, genesis_validators_root)` where `current_slot` is the current slot based on a local clock. `process_slot_for_light_client_store` is triggered every time the current slot increments.

#### `process_slot_for_light_client_store`

Expand Down

0 comments on commit 7b435bd

Please sign in to comment.