From 8a6bd201f9f341700d0aba355b623eb7261aedfe Mon Sep 17 00:00:00 2001 From: vbuterin Date: Tue, 5 Nov 2019 12:15:04 -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 3659cc599..fa8397bad 100644 --- a/specs/core/1_new_shards.md +++ b/specs/core/1_new_shards.md @@ -443,7 +443,7 @@ def process_attestations(state: BeaconState, block: BeaconBlock, attestations: S aggregation_bits=attestation.aggregation_bits, data=attestation.data, inclusion_delay=state.slot - data.slot, - crosslink_success=(attestation.shard, attestation.shard_transition_root) in winners and attestation.data.slot == state.slot, + crosslink_success=(get_shard(state, attestation), attestation.shard_transition_root) in winners and attestation.data.slot == state.slot, proposer_index=proposer_index ) if attestation.data.target.epoch == get_current_epoch(state):