mirror of
https://github.com/ethereum/consensus-specs.git
synced 2026-02-02 01:25:16 -05:00
Python syntax highlighted updates
This commit is contained in:
@@ -133,7 +133,7 @@ def validate_update(memory: LightClientMemory, update: LightClientUpdate) -> boo
|
||||
|
||||
#### `update_memory`
|
||||
|
||||
```
|
||||
```python
|
||||
def update_memory(memory: LightClientMemory, update: LightClientUpdate) -> None:
|
||||
memory.header = update.header
|
||||
epoch = compute_epoch_at_slot(update.header.slot)
|
||||
|
||||
Reference in New Issue
Block a user