mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: rm redundant is_optimism checks (#9438)
This commit is contained in:
@ -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(())
|
||||
|
||||
Reference in New Issue
Block a user