Function sc_consensus_babe::find_pre_digest
source · pub fn find_pre_digest<B: BlockT>(
header: &B::Header,
) -> Result<PreDigest, Error<B>>
Expand description
Extract the BABE pre digest from the given header. Pre-runtime digests are
mandatory, the function will return Err
if none is found.