mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
perf(evm-config): return &Arc<ChainSpec> (#12748)
This commit is contained in:
@ -50,7 +50,7 @@ impl OpEvmConfig {
|
||||
}
|
||||
|
||||
/// Returns the chain spec associated with this configuration.
|
||||
pub fn chain_spec(&self) -> &OpChainSpec {
|
||||
pub const fn chain_spec(&self) -> &Arc<OpChainSpec> {
|
||||
&self.chain_spec
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user