pub fn finalize_ticket(partial_ticket: &[u8; 32]) -> Result<[u8; 32]> {
    let partial_ticket =
        bytes_into_fr::<Bls12>(partial_ticket).context("Invalid partial_ticket")?;
    Ok(election_post::finalize_ticket(&partial_ticket))
}
/// Generates a ticket from a partial_ticket.
Generates a ticket from a partial_ticket.
Generates a ticket from a partial_ticket .
pub fn finalize_ticket(partial_ticket: &[u8; 32]) -> Result<[u8; 32]> {
    let partial_ticket =
        bytes_into_fr::<Bls12>(partial_ticket).context("Invalid partial_ticket")?;
    Ok(election_post::finalize_ticket(&partial_ticket))
}
pub fn finalize_ticket ( partial_ticket : & [ u8 ; 32 ] ) -> Result < [ u8 ; 32 ] > { let partial_ticket = bytes_into_fr :: < Bls12 > ( partial_ticket ) . context ( " " ) ? ; Ok ( election_post :: finalize_ticket ( & partial_ticket ) ) }
Generates a ticket from a partial_ticket.
Generates a ticket from a partial_ticket .
partial_ticket
&[u8; 32]
partial_ticket
&[u8; 32]