Function reth_rpc_types_compat::block::from_primitive_with_hash
source · 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.