pub fn extract_relay_parent(digest: &Digest) -> Option<Hash>
If there are multiple valid digests, this returns the value of the first one, although well-behaving runtimes should not produce headers with more than one.