aboutsummaryrefslogtreecommitdiffstats
path: root/light
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2016-09-19 15:58:14 +0800
committerGitHub <noreply@github.com>2016-09-19 15:58:14 +0800
commitc8d6efd602042687236669b5c7624c93640ccfbc (patch)
tree606a2e6198b71ff9aa7f940847bac8f0cc07b57b /light
parent88b012ad3b470391ba5bfb99da3775bde775e915 (diff)
parentb6b17e5648ba2d8298d41c384d89caf82a27b271 (diff)
downloadgo-tangerine-c8d6efd602042687236669b5c7624c93640ccfbc.tar
go-tangerine-c8d6efd602042687236669b5c7624c93640ccfbc.tar.gz
go-tangerine-c8d6efd602042687236669b5c7624c93640ccfbc.tar.bz2
go-tangerine-c8d6efd602042687236669b5c7624c93640ccfbc.tar.lz
go-tangerine-c8d6efd602042687236669b5c7624c93640ccfbc.tar.xz
go-tangerine-c8d6efd602042687236669b5c7624c93640ccfbc.tar.zst
go-tangerine-c8d6efd602042687236669b5c7624c93640ccfbc.zip
Merge pull request #3010 from Gustav-Simonsson/remove_unused_initcode_field
core/state, light: remove unused StateObject.initCode
Diffstat (limited to 'light')
-rw-r--r--light/state_object.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/light/state_object.go b/light/state_object.go
index 030653c77..08c209d7d 100644
--- a/light/state_object.go
+++ b/light/state_object.go
@@ -79,8 +79,6 @@ type StateObject struct {
codeHash []byte
// The code for this account
code Code
- // Temporarily initialisation code
- initCode Code
// Cached storage (flushed when updated)
storage Storage
@@ -189,7 +187,6 @@ func (self *StateObject) Copy() *StateObject {
stateObject.nonce = self.nonce
stateObject.trie = self.trie
stateObject.code = common.CopyBytes(self.code)
- stateObject.initCode = common.CopyBytes(self.initCode)
stateObject.storage = self.storage.Copy()
stateObject.remove = self.remove
stateObject.dirty = self.dirty