From 41be60ee6e4b782d54f0de58c69cc47b913669fc Mon Sep 17 00:00:00 2001 From: vbuterin Date: Tue, 5 Nov 2019 12:15:47 -0800 Subject: [PATCH] Update specs/core/1_new_shards.md --- 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 fa8397bad..074e06db7 100644 --- a/specs/core/1_new_shards.md +++ b/specs/core/1_new_shards.md @@ -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)