Update specs/core/0_beacon-chain.md
Co-Authored-By: vbuterin <v@buterin.com>
This commit is contained in:
parent
cd7c7228c9
commit
868359a674
|
@ -1877,7 +1877,6 @@ Run the following function:
|
||||||
|
|
||||||
```python
|
```python
|
||||||
def update_justification_and_finalization(state: BeaconState) -> None:
|
def update_justification_and_finalization(state: BeaconState) -> None:
|
||||||
|
|
||||||
new_justified_epoch = state.justified_epoch
|
new_justified_epoch = state.justified_epoch
|
||||||
# Rotate the justification bitfield up one epoch to make room for the current epoch
|
# Rotate the justification bitfield up one epoch to make room for the current epoch
|
||||||
state.justification_bitfield <<= 1
|
state.justification_bitfield <<= 1
|
||||||
|
|
Loading…
Reference in New Issue