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`
|
||||
|
||||
```
|
||||
```python
|
||||
def update_memory(memory: LightClientMemory, update: LightClientUpdate) -> None:
|
||||
memory.header = update.header
|
||||
epoch = compute_epoch_at_slot(update.header.slot)
|
||||
|
|
Loading…
Reference in New Issue