mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
Update eth/catalyst/simulated_beacon.go
Co-authored-by: Martin Holst Swende <martin@swende.se>
This commit is contained in:
parent
dfd8a79a88
commit
7afd003cda
1 changed files with 1 additions and 1 deletions
|
|
@ -144,7 +144,7 @@ func (c *SimulatedBeacon) sealBlock(withdrawals []*types.Withdrawal) error {
|
|||
feeRecipient := c.feeRecipient
|
||||
c.feeRecipientLock.Unlock()
|
||||
|
||||
// Reset to CurrentBlock in case of the chain was rewinded
|
||||
// Reset to CurrentBlock in case of the chain was rewound
|
||||
block := c.eth.BlockChain().CurrentBlock()
|
||||
if c.curForkchoiceState.HeadBlockHash != block.Hash() {
|
||||
c.curForkchoiceState = engine.ForkchoiceStateV1{
|
||||
|
|
|
|||
Loading…
Reference in a new issue