Skip to content

Commit

Permalink
block_body_root => body_root
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinDrake committed May 7, 2019
1 parent ea60fb6 commit 964e55c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions specs/core/0_beacon-chain.md
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ The types are defined topologically to aid in facilitating an executable version
'slot': 'uint64',
'parent_root': 'bytes32',
'state_root': 'bytes32',
'block_body_root': 'bytes32',
'body_root': 'bytes32',
'signature': 'bytes96',
}
```
Expand Down Expand Up @@ -1591,7 +1591,7 @@ def process_block_header(state: BeaconState, block: BeaconBlock) -> None:
state.latest_block_header = BeaconBlockHeader(
slot=block.slot,
parent_root=block.parent_root,
block_body_root=hash_tree_root(block.body),
body_root=hash_tree_root(block.body),
)
# Verify proposer is not slashed
proposer = state.validator_registry[get_beacon_proposer_index(state)]
Expand Down

0 comments on commit 964e55c

Please sign in to comment.