From e05356893f9e769739ba3e61435027daffaa88d0 Mon Sep 17 00:00:00 2001 From: ericsson Date: Sat, 24 Apr 2021 17:38:09 +0300 Subject: [PATCH] fix typo: `c` var name used instad of `header` in `process_pending_headers` --- specs/sharding/beacon-chain.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specs/sharding/beacon-chain.md b/specs/sharding/beacon-chain.md index 41dcca410..28491731e 100644 --- a/specs/sharding/beacon-chain.md +++ b/specs/sharding/beacon-chain.md @@ -706,7 +706,7 @@ def process_pending_headers(state: BeaconState) -> None: state.grandparent_epoch_confirmed_commitments[shard][slot_index] = DataCommitment() confirmed_headers = [candidate for candidate in state.previous_epoch_pending_shard_headers if candidate.confirmed] for header in confirmed_headers: - state.grandparent_epoch_confirmed_commitments[c.shard][c.slot % SLOTS_PER_EPOCH] = c.commitment + state.grandparent_epoch_confirmed_commitments[header.shard][header.slot % SLOTS_PER_EPOCH] = header.commitment ``` ```python