Update 0_beacon-chain.md

This commit is contained in:
Justin 2019-04-30 10:41:09 +01:00 committed by GitHub
parent bcd7a83af4
commit 92140d199e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1758,7 +1758,7 @@ def process_attestation(state: BeaconState, attestation: Attestation) -> None:
(get_current_epoch(state), state.current_justified_epoch, state.current_justified_root, hash_tree_root(state.current_crosslinks[data.shard])), (get_current_epoch(state), state.current_justified_epoch, state.current_justified_root, hash_tree_root(state.current_crosslinks[data.shard])),
(get_previous_epoch(state), state.previous_justified_epoch, state.previous_justified_root, hash_tree_root(state.previous_crosslinks[data.shard])), (get_previous_epoch(state), state.previous_justified_epoch, state.previous_justified_root, hash_tree_root(state.previous_crosslinks[data.shard])),
} }
# Check crosslink data root # Check crosslink data root
assert data.crosslink_data_root == ZERO_HASH # [to be removed in phase 1] assert data.crosslink_data_root == ZERO_HASH # [to be removed in phase 1]