Function lib::recover::valid_vote_cast
source · pub(crate) fn valid_vote_cast(tx: &TransactionSlice<'_, VoteCast>) -> bool
Expand description
check that the transaction input/outputs/witnesses is valid for the ballot
- Only 1 input (subsequently 1 witness), no output