mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
Use Arc<ChainSpec> in SystemCaller (#12268)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
@ -31,7 +31,7 @@ impl<ChainSpec> ExecutionPayloadValidator<ChainSpec> {
|
||||
|
||||
/// Returns the chain spec used by the validator.
|
||||
#[inline]
|
||||
pub fn chain_spec(&self) -> &ChainSpec {
|
||||
pub const fn chain_spec(&self) -> &Arc<ChainSpec> {
|
||||
&self.chain_spec
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user