(t *testing.T, tx *bc.Tx, index int)
| 564 | } |
| 565 | |
| 566 | func txIssuance(t *testing.T, tx *bc.Tx, index int) *bc.Issuance { |
| 567 | id := tx.InputIDs[index] |
| 568 | res, err := tx.Issuance(id) |
| 569 | if err != nil { |
| 570 | t.Fatal(err) |
| 571 | } |
| 572 | return res |
| 573 | } |
| 574 | |
| 575 | func txSpend(t *testing.T, tx *bc.Tx, index int) *bc.Spend { |
| 576 | id := tx.InputIDs[index] |
no test coverage detected