Update 0_beacon-chain.md

This commit is contained in:
Justin
2019-01-28 21:13:58 +00:00
committed by GitHub
parent b2855f9be4
commit 3068e6483d

View File

@@ -1604,7 +1604,7 @@ For each `attestation` in `block.body.attestations`:
* Verify that either `attestation.data.latest_crosslink_root` or `attestation.data.shard_block_root` equals `state.latest_crosslinks[shard].shard_block_root`.
* Verify bitfields and aggregate signature:
```python
```python
assert attestation.custody_bitfield == b'\x00' * len(attestation.custody_bitfield) # [TO BE REMOVED IN PHASE 1]
assert attestation.aggregation_bitfield != b'\x00' * len(attestation.aggregation_bitfield)