mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-01-23 06:07:58 -05:00
chore: rm redunant log fn (#7941)
This commit is contained in:
@@ -12,6 +12,5 @@
|
||||
|
||||
pub mod block;
|
||||
pub mod engine;
|
||||
pub mod log;
|
||||
pub mod proof;
|
||||
pub mod transaction;
|
||||
|
||||
@@ -1,16 +0,0 @@
|
||||
//! Compatibility functions for rpc `Log` type.
|
||||
|
||||
/// Creates a new rpc Log from a primitive log type from DB
|
||||
#[inline]
|
||||
pub fn from_primitive_log(log: reth_primitives::Log) -> reth_rpc_types::Log {
|
||||
reth_rpc_types::Log {
|
||||
inner: log,
|
||||
block_hash: None,
|
||||
block_number: None,
|
||||
block_timestamp: None,
|
||||
transaction_hash: None,
|
||||
transaction_index: None,
|
||||
log_index: None,
|
||||
removed: false,
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user