Update 0_beacon-chain.md

This commit is contained in:
Justin 2019-03-07 23:14:47 +01:00 committed by GitHub
parent 2d9724dbfc
commit 339a7fb63b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1682,7 +1682,7 @@ _Note_: If there are skipped slots between a block and its parent block, run the
At every `slot > GENESIS_SLOT` run the following function:
```python
def store_state_root(state: BeaconState) -> None:
def cache_state_root(state: BeaconState) -> None:
state.latest_state_roots[state.slot % SLOTS_PER_HISTORICAL_ROOT] = hash_tree_root(state)
```