MCPcopy Create free account
hub / github.com/chain/txvm / asBytes

Function asBytes

protocol/txbuilder/template.go:215–221  ·  view source on GitHub ↗
(b []i10rjson.HexBytes)

Source from the content-addressed store, hash-verified

213}
214
215func asBytes(b []i10rjson.HexBytes) [][]byte {
216 var res [][]byte
217 for _, item := range b {
218 res = append(res, item)
219 }
220 return res
221}
222
223// AddIssuance adds an Issuance to the template.
224func (tpl *Template) AddIssuance(version int, blockchainID []byte, assetTag []byte, quorum int, keyHashes [][]byte, path [][]byte, pubkeys []ed25519.PublicKey, amount int64, refData, nonce []byte) *Issuance {

Callers 1

SignMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected