Function reth_node_core::rpc::compat::block::from_primitive_with_hash
pub fn from_primitive_with_hash(primitive_header: SealedHeader) -> Header
Expand description
Converts from a reth_primitives::SealedHeader
to a reth_rpc_types::Header
ยงNote
This does not set the totalDifficulty
field.