Skip to content

Commit e061c29

Browse files
authored
consensus/beacon: Fix OP Legacy header verification dispatch (#697)
1 parent 5c6d276 commit e061c29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

consensus/beacon/consensus.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ func (beacon *Beacon) VerifyHeader(chain consensus.ChainHeaderReader, header *ty
125125
// Check >0 TDs with pre-merge, --0 TDs with post-merge rules
126126
if header.Difficulty.Sign() > 0 ||
127127
// OP-Stack: transitioned networks must use legacy consensus pre-Bedrock
128-
cfg.IsOptimismBedrock(header.Number) {
128+
cfg.IsOptimismPreBedrock(header.Number) {
129129
return beacon.ethone.VerifyHeader(chain, header)
130130
}
131131
return beacon.verifyHeader(chain, header, parent)

0 commit comments

Comments
 (0)