Function chain_impl_mockchain::ledger::check::valid_vote_cast_tx_slice
source · pub(super) fn valid_vote_cast_tx_slice(
tx: &TransactionSlice<'_, VoteCast>
) -> Result<(), Error>
Expand description
check that the transaction input/outputs/witnesses is valid for the ballot
- Only 1 input (subsequently 1 witness), no output