Fix missing `get_epoch_start_slot()`

This commit is contained in:
Hsiao-Wei Wang 2019-02-22 14:30:07 +08:00
parent d31aeacd3c
commit e8d41fd889
No known key found for this signature in database
GPG Key ID: 95B070122902DEA4
1 changed files with 1 additions and 1 deletions

View File

@ -284,7 +284,7 @@ Set `attestation_data.justified_epoch = state.justified_epoch` where `state` is
Set `attestation_data.justified_block_root = hash_tree_root(justified_block)` where `justified_block` is the block at the slot `get_epoch_start_slot(state.justified_epoch)` in the chain defined by `head`.
_Note:_ This can be looked up in the state using `get_block_root(state, justified_epoch)`.
_Note:_ This can be looked up in the state using `get_block_root(state, get_epoch_start_slot(state.justified_epoch))`.
#### Construct attestation