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

Function newAssetID

protocol/validation/validation_test.go:561–564  ·  view source on GitHub ↗
(n byte)

Source from the content-addressed store, hash-verified

559}
560
561func newAssetID(n byte) *bc.AssetID {
562 a := bc.NewAssetID([32]byte{n})
563 return &a
564}
565
566func txIssuance(t *testing.T, tx *bc.Tx, index int) *bc.Issuance {
567 id := tx.InputIDs[index]

Callers 1

TestTxValidationFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected