Update specs/core/1_new_shards.md

Co-Authored-By: Hsiao-Wei Wang <hwwang156@gmail.com>
This commit is contained in:
vbuterin
2019-11-05 10:33:41 -08:00
committed by Danny Ryan
parent d59e87f876
commit bcd06d88ef

View File

@@ -367,7 +367,7 @@ def apply_shard_transition(state: BeaconState, shard: Shard, transition: ShardTr
for i in range(len(offset_slots)):
if any(transition.shard_data_roots):
headers.append(ShardSignedHeader(
shard_parent_root=shard_parent_root
shard_parent_root=shard_parent_root,
parent_hash=get_block_root_at_slot(state, state.slot-1),
slot=offset_slots[i],
body_root=chunks_to_body_root(transition.shard_data_roots[i])