fix assertion in beacon block creation rollback/restore (#2655)
This commit is contained in:
parent
f2588be9ab
commit
9d48097de0
|
@ -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
|
||||
doAssert v.addr == addr proposalStateAddr.data.hbsPhase0
|
||||
assign(proposalStateAddr[], poolPtr.headState)
|
||||
|
||||
return makeBeaconBlock(
|
||||
|
|
Loading…
Reference in New Issue