Update specs/core/1_new_shards.md

Co-Authored-By: Hsiao-Wei Wang <hwwang156@gmail.com>
This commit is contained in:
vbuterin 2019-11-05 12:16:07 -08:00 committed by Danny Ryan
parent 41be60ee6e
commit 793c8616cd
No known key found for this signature in database
GPG Key ID: 2765A792E42CE07A
1 changed files with 1 additions and 1 deletions

View File

@ -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: