mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-02-02 09:46:26 +00:00
Revert "fix assertion in beacon block creation rollback/restore (#2655)"
This reverts commit 9d48097de0ba67141947a3eab569e1c5f3a02e77.
This commit is contained in:
parent
e14873757e
commit
a3322acee9
@ -313,7 +313,7 @@ proc makeBeaconBlockForHeadAndSlot*(node: BeaconNode,
|
||||
# TODO address this ugly workaround - there should probably be a
|
||||
# `state_transition` that takes a `StateData` instead and updates
|
||||
# the block as well
|
||||
doAssert v.addr == addr proposalStateAddr.data.hbsPhase0
|
||||
doAssert v.addr == addr proposalStateAddr.data
|
||||
assign(proposalStateAddr[], poolPtr.headState)
|
||||
|
||||
return makeBeaconBlock(
|
||||
|
Loading…
x
Reference in New Issue
Block a user