mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: relax some op pool validator internals (#13358)
This commit is contained in:
@ -45,8 +45,8 @@ pub struct EthTransactionValidator<Client, T> {
|
||||
|
||||
impl<Client, Tx> EthTransactionValidator<Client, Tx> {
|
||||
/// Returns the configured chain spec
|
||||
pub fn chain_spec(&self) -> Arc<ChainSpec> {
|
||||
self.inner.chain_spec.clone()
|
||||
pub fn chain_spec(&self) -> &Arc<ChainSpec> {
|
||||
&self.inner.chain_spec
|
||||
}
|
||||
|
||||
/// Returns the configured client
|
||||
|
||||
Reference in New Issue
Block a user