From 97dc916c9e0fbd48ac048d5212c5dca53b4b1e8c Mon Sep 17 00:00:00 2001 From: vbuterin Date: Mon, 16 Nov 2020 15:07:40 +0800 Subject: [PATCH] Python syntax highlighted updates --- specs/lightclient/sync-protocol.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specs/lightclient/sync-protocol.md b/specs/lightclient/sync-protocol.md index ff9231365..aaff7c580 100644 --- a/specs/lightclient/sync-protocol.md +++ b/specs/lightclient/sync-protocol.md @@ -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)