pub fn generate_vote_fragment(
    keypair: Keypair,
    encrypted_vote: Vec<u8>,
    proof: Vec<u8>,
    proposal: u8,
    vote_plan_id: &[u8],
    epoch: u32,
    slot: u32
) -> Result<Vec<u8>, Box<dyn Error>>
Expand description

Generate vote fragment in bytes