aboutsummaryrefslogtreecommitdiffstats
path: root/light/state_object.go
diff options
context:
space:
mode:
Diffstat (limited to 'light/state_object.go')
-rw-r--r--light/state_object.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/light/state_object.go b/light/state_object.go
index 08c209d7d..1e9c7f4b1 100644
--- a/light/state_object.go
+++ b/light/state_object.go
@@ -186,7 +186,7 @@ func (self *StateObject) Copy() *StateObject {
stateObject.codeHash = common.CopyBytes(self.codeHash)
stateObject.nonce = self.nonce
stateObject.trie = self.trie
- stateObject.code = common.CopyBytes(self.code)
+ stateObject.code = self.code
stateObject.storage = self.storage.Copy()
stateObject.remove = self.remove
stateObject.dirty = self.dirty