chore: rm redundant is_optimism checks (#9438)

This commit is contained in:
Matthias Seitz
2024-07-11 10:43:14 +02:00
committed by GitHub
parent 4e5162cb3f
commit a1e93b79aa
4 changed files with 4 additions and 9 deletions

View File

@ -198,11 +198,7 @@ impl Consensus for EthBeaconConsensus {
})
}
// Early OP exception:
// * If the network is pre-Bedrock OP, ignore the extradata check.
if !self.chain_spec.is_optimism() {
validate_header_extradata(header)?;
}
validate_header_extradata(header)?;
}
Ok(())