pub fn decode_with_receipts<BH, BB, R, E>(
block: Result<BlockTuple, E>,
decode_receipts: bool,
) -> Result<(BH, BB, Option<Vec<R>>)>Expand description
Like decode, but also extracts receipts when decode_receipts is true. receipts is
Some whenever decode_receipts is true: era1’s CompressedReceipts entry is mandatory
per spec, so (unlike .ere) it is never None just because the file omits it.