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

Method Copy

core/state/state_object.go:48–55  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

46}
47
48func (self Storage) Copy() Storage {
49 cpy := make(Storage)
50 for key, value := range self {
51 cpy[key] = value
52 }
53
54 return cpy
55}
56
57// stateObject represents an Ethereum account which is being modified.
58//

Callers 1

deepCopyMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected