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 10:33:26 -08:00 committed by Danny Ryan
parent d3f9bfe68d
commit d59e87f876
No known key found for this signature in database
GPG Key ID: 2765A792E42CE07A
1 changed files with 1 additions and 1 deletions

View File

@ -320,7 +320,7 @@ def get_shard(state: BeaconState, attestation: Attestation) -> Shard:
#### `validate_attestation`
```python
def validate_attestation(state: BeaconState, attestation: Attestation) -> bool:
def validate_attestation(state: BeaconState, attestation: Attestation) -> None:
data = attestation.data
assert data.index < ACTIVE_SHARDS
shard = get_shard(state, attestation)