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

Method OpName

core/vm/logger.go:82–84  ·  view source on GitHub ↗

OpName formats the operand name in a human-readable format.

()

Source from the content-addressed store, hash-verified

80
81// OpName formats the operand name in a human-readable format.
82func (s *StructLog) OpName() string {
83 return s.Op.String()
84}
85
86// ErrorString formats the log's error as a string.
87func (s *StructLog) ErrorString() string {

Callers 1

MarshalJSONMethod · 0.95

Calls 1

StringMethod · 0.45

Tested by

no test coverage detected