5 func (VetoInput) typ() string { return "vetoInput1" }
6 func (s *VetoInput) writeForHash(w io.Writer) {
7 mustWriteForHash(w, s.SpentOutputId)
10 // SetDestination will link the spend to the output
11 func (s *VetoInput) SetDestination(id *Hash, val *AssetAmount, pos uint64) {
12 s.WitnessDestination = &ValueDestination{
19 // NewVetoInput creates a new VetoInput.
20 func NewVetoInput(spentOutputID *Hash, ordinal uint64) *VetoInput {
22 SpentOutputId: spentOutputID,