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

Method EncodeRLP

core/state/state_object.go:124–126  ·  view source on GitHub ↗

EncodeRLP implements rlp.Encoder.

(w io.Writer)

Source from the content-addressed store, hash-verified

122
123// EncodeRLP implements rlp.Encoder.
124func (c *stateObject) EncodeRLP(w io.Writer) error {
125 return rlp.Encode(w, c.data)
126}
127
128// setError remembers the first non-nil error it is called with.
129func (self *stateObject) setError(err error) {

Callers 1

ExportNMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected