From a749dd9a7789f3493992a7bb84251af90f63d71b Mon Sep 17 00:00:00 2001 From: vbuterin Date: Tue, 5 Nov 2019 12:17:07 -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 f6a1ece72..aa3e4f188 100644 --- a/specs/core/1_new_shards.md +++ b/specs/core/1_new_shards.md @@ -479,7 +479,7 @@ def process_light_client_signatures(state: BeaconState, block: BeaconBlock) -> N if bit: signer_keys.append(state.validators[committee[i]].pubkey) increase_balance(state, committee[i], get_base_reward(state, committee[i])) - tot_reward += get_base_reward(state, committee[i]) + total_reward += get_base_reward(state, committee[i]) increase_balance(state, get_beacon_proposer_index(state), tot_reward // PROPOSER_REWARD_COEFFICIENT)