Update specs/core/1_new_shards.md

Co-Authored-By: Hsiao-Wei Wang <hwwang156@gmail.com>
This commit is contained in:
vbuterin 2019-11-06 15:53:41 -05:00 committed by Danny Ryan
parent 8cb404d926
commit e66b4e06ef
No known key found for this signature in database
GPG Key ID: 2765A792E42CE07A
1 changed files with 1 additions and 1 deletions

View File

@ -340,7 +340,7 @@ def validate_attestation(state: BeaconState, attestation: Attestation) -> None:
assert data.beacon_block_root == get_block_root_at_slot(state, state.slot - 1)
# Type 2: delayed attestations
else:
assert state.slot - slot_to_epoch(data.slot) < EPOCH_LENGTH
assert state.slot < data.slot + SLOTS_PER_EPOCH
assert data.shard_transition_root == Hash()
assert len(attestation.custody_bits) == 0
```