MCPcopy Create free account
hub / github.com/CPChain/chain / String

Method String

core/vm/opcodes.go:382–389  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

380}
381
382func (op OpCode) String() string {
383 str := opCodeToString[op]
384 if len(str) == 0 {
385 return fmt.Sprintf("Missing opcode 0x%x", int(op))
386 }
387
388 return str
389}
390
391var stringToOp = map[string]OpCode{
392 "STOP": STOP,

Callers 2

OpNameMethod · 0.45
setDefaultsFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected