(b []i10rjson.HexBytes)
| 213 | } |
| 214 | |
| 215 | func 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. |
| 224 | func (tpl *Template) AddIssuance(version int, blockchainID []byte, assetTag []byte, quorum int, keyHashes [][]byte, path [][]byte, pubkeys []ed25519.PublicKey, amount int64, refData, nonce []byte) *Issuance { |