MCPcopy Create free account
hub / github.com/copernet/copernicus / NewEmptyScript

Function NewEmptyScript

model/script/script.go:276–282  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

274}
275
276func NewEmptyScript() *Script {
277 s := Script{}
278 s.data = make([]byte, 0)
279 s.ParsedOpCodes = make([]opcodes.ParsedOpCode, 0)
280 s.badOpCode = false
281 return &s
282}
283
284func (s *Script) convertRaw() {
285 s.data = make([]byte, 0)

Calls

no outgoing calls