mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-01-27 08:08:15 -05:00
Add client() getter to OpTransactionValidator (#10814)
This commit is contained in:
@@ -41,6 +41,11 @@ impl<Client, Tx> OpTransactionValidator<Client, Tx> {
|
||||
self.inner.chain_spec()
|
||||
}
|
||||
|
||||
/// Returns the configured client
|
||||
pub fn client(&self) -> &Client {
|
||||
self.inner.client()
|
||||
}
|
||||
|
||||
/// Returns the current block timestamp.
|
||||
fn block_timestamp(&self) -> u64 {
|
||||
self.block_info.timestamp.load(Ordering::Relaxed)
|
||||
|
||||
Reference in New Issue
Block a user