chore: rm redunant log fn (#7941)

This commit is contained in:
Matthias Seitz
2024-04-28 12:23:43 +02:00
committed by GitHub
parent 1e94d9007e
commit e18869f25b
2 changed files with 0 additions and 17 deletions

View File

@ -12,6 +12,5 @@
pub mod block; pub mod block;
pub mod engine; pub mod engine;
pub mod log;
pub mod proof; pub mod proof;
pub mod transaction; pub mod transaction;

View File

@ -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,
}
}