Update specs/core/1_new_shards.md

This commit is contained in:
vbuterin 2019-11-05 12:15:47 -08:00 committed by Danny Ryan
parent 8a6bd201f9
commit 41be60ee6e
No known key found for this signature in database
GPG Key ID: 2765A792E42CE07A
1 changed files with 1 additions and 1 deletions

View File

@ -428,7 +428,7 @@ def process_attestations(state: BeaconState, block: BeaconBlock, attestations: S
and success is False
):
assert shard_transition_root == hash_tree_root(block.shard_transition)
process_crosslink(state, shard, block.shard_transition)
apply_shard_transition(state, shard, block.shard_transition)
# Apply proposer reward and cost
estimated_attester_reward = sum([get_base_reward(state, attester) for attester in all_participants])
increase_balance(state, proposer, estimated_attester_reward // PROPOSER_REWARD_COEFFICIENT)