Commit b546c28e authored by Mark Tyneway's avatar Mark Tyneway Committed by GitHub

Merge pull request #1353 from ethereum-optimism/fix/l2geth-verifyheader

l2geth: skip clique consensus rule
parents 0067d9be eb1eb327
---
'@eth-optimism/l2geth': patch
---
Ensure that L2 geth doesn't reject blocks from the future
......@@ -249,7 +249,7 @@ func (c *Clique) verifyHeader(chain consensus.ChainReader, header *types.Header,
}
number := header.Number.Uint64()
if vm.UsingOVM {
if !vm.UsingOVM {
// Don't waste time checking blocks from the future
if header.Time > uint64(time.Now().Unix()) {
return consensus.ErrFutureBlock
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment