diff options
author | Gustav Simonsson <gustav.simonsson@gmail.com> | 2016-09-19 14:13:14 +0800 |
---|---|---|
committer | Gustav Simonsson <gustav.simonsson@gmail.com> | 2016-09-20 03:26:55 +0800 |
commit | 22eea17b0672fc8be84b655f995f3f2555446c5e (patch) | |
tree | 622a34920f15745b46606b174b89ac329b3d64a8 /light/state_object.go | |
parent | c8d6efd602042687236669b5c7624c93640ccfbc (diff) | |
download | dexon-22eea17b0672fc8be84b655f995f3f2555446c5e.tar dexon-22eea17b0672fc8be84b655f995f3f2555446c5e.tar.gz dexon-22eea17b0672fc8be84b655f995f3f2555446c5e.tar.bz2 dexon-22eea17b0672fc8be84b655f995f3f2555446c5e.tar.lz dexon-22eea17b0672fc8be84b655f995f3f2555446c5e.tar.xz dexon-22eea17b0672fc8be84b655f995f3f2555446c5e.tar.zst dexon-22eea17b0672fc8be84b655f995f3f2555446c5e.zip |
light: fix memory expansion bug (same as fix for core/state)
Diffstat (limited to 'light/state_object.go')
-rw-r--r-- | light/state_object.go | 2 |
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 |