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