From d59e87f8764dd9065913da960abff8e1d3fecb7a Mon Sep 17 00:00:00 2001 From: vbuterin Date: Tue, 5 Nov 2019 10:33:26 -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 de436004e..477b95a10 100644 --- a/specs/core/1_new_shards.md +++ b/specs/core/1_new_shards.md @@ -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)