pub fn new_test_vote_tx<R>(rng: &mut R) -> Transactionwhere
    R: CryptoRng + RngCore,