(t *testing.T, tx *bc.Tx, index int)
| 573 | } |
| 574 | |
| 575 | func txSpend(t *testing.T, tx *bc.Tx, index int) *bc.Spend { |
| 576 | id := tx.InputIDs[index] |
| 577 | res, err := tx.Spend(id) |
| 578 | if err != nil { |
| 579 | t.Fatal(err) |
| 580 | } |
| 581 | return res |
| 582 | } |
no test coverage detected