From 793c8616cd00481dd2b44978dd577ab9cb17b148 Mon Sep 17 00:00:00 2001 From: vbuterin Date: Tue, 5 Nov 2019 12:16:07 -0800 Subject: [PATCH] Update specs/core/1_new_shards.md Co-Authored-By: Hsiao-Wei Wang --- specs/core/1_new_shards.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specs/core/1_new_shards.md b/specs/core/1_new_shards.md index 074e06db7..99cf82ce4 100644 --- a/specs/core/1_new_shards.md +++ b/specs/core/1_new_shards.md @@ -457,7 +457,7 @@ def process_attestations(state: BeaconState, block: BeaconBlock, attestations: S ### Misc block post-processing ```python -def misc_block_post_process(state: BeaconState, block: BeaconBlock): +def misc_block_post_process(state: BeaconState, block: BeaconBlock) -> None: # Verify that a `shard_transition` in a block is empty if an attestation was not processed for it for shard in range(MAX_SHARDS): if state.shard_states[shard].slot != state.slot - 1: