mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-01-10 14:26:26 +00:00
Another innocent fix from the interop branch
This commit is contained in:
parent
a336285922
commit
66984c44ce
@ -177,6 +177,7 @@ proc process_slots*(state: var HashedBeaconState, slot: Slot) =
|
|||||||
# Note: Genesis epoch = 0, no need to test if before Genesis
|
# Note: Genesis epoch = 0, no need to test if before Genesis
|
||||||
process_epoch(state.data)
|
process_epoch(state.data)
|
||||||
state.data.slot += 1
|
state.data.slot += 1
|
||||||
|
state.root = hash_tree_root(state.data)
|
||||||
|
|
||||||
proc state_transition*(
|
proc state_transition*(
|
||||||
state: var HashedBeaconState, blck: BeaconBlock, flags: UpdateFlags): bool =
|
state: var HashedBeaconState, blck: BeaconBlock, flags: UpdateFlags): bool =
|
||||||
|
Loading…
x
Reference in New Issue
Block a user