mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-25 06:06:44 +00:00
Update eth/catalyst/simulated_beacon.go
This commit is contained in:
parent
c3ed3445f5
commit
1223244b3e
1 changed files with 1 additions and 0 deletions
|
|
@ -209,6 +209,7 @@ func (c *SimulatedBeacon) sealBlock(withdrawals []*types.Withdrawal, timestamp u
|
|||
}
|
||||
|
||||
// If the payload was already known, we can skip the rest of the process.
|
||||
// This edge case is possible due to a race condition between seal and debug.setHead.
|
||||
if fcResponse.PayloadStatus.Status == engine.VALID && fcResponse.PayloadID == nil {
|
||||
return nil
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue