(w io.Writer)
| 9 | |
| 10 | func (Spend) typ() string { return "spend1" } |
| 11 | func (s *Spend) writeForHash(w io.Writer) { |
| 12 | mustWriteForHash(w, s.SpentOutputId) |
| 13 | mustWriteForHash(w, s.Data) |
| 14 | mustWriteForHash(w, s.ExtHash) |
| 15 | } |
| 16 | |
| 17 | func (s *Spend) SetDestination(id *Hash, val *AssetAmount, pos uint64) { |
| 18 | s.WitnessDestination = &ValueDestination{ |
nothing calls this directly
no test coverage detected