MCPcopy Create free account
hub / github.com/chain/Core / txIssuance

Function txIssuance

protocol/validation/validation_test.go:566–573  ·  view source on GitHub ↗
(t *testing.T, tx *bc.Tx, index int)

Source from the content-addressed store, hash-verified

564}
565
566func 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
575func txSpend(t *testing.T, tx *bc.Tx, index int) *bc.Spend {
576 id := tx.InputIDs[index]

Callers 1

TestTxValidationFunction · 0.85

Calls 1

IssuanceMethod · 0.80

Tested by

no test coverage detected