mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-02-26 01:05:15 +00:00
Python syntax highlighted updates
This commit is contained in:
parent
1f210fd1f8
commit
97dc916c9e
@ -133,7 +133,7 @@ def validate_update(memory: LightClientMemory, update: LightClientUpdate) -> boo
|
|||||||
|
|
||||||
#### `update_memory`
|
#### `update_memory`
|
||||||
|
|
||||||
```
|
```python
|
||||||
def update_memory(memory: LightClientMemory, update: LightClientUpdate) -> None:
|
def update_memory(memory: LightClientMemory, update: LightClientUpdate) -> None:
|
||||||
memory.header = update.header
|
memory.header = update.header
|
||||||
epoch = compute_epoch_at_slot(update.header.slot)
|
epoch = compute_epoch_at_slot(update.header.slot)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user