From b6b17e5648ba2d8298d41c384d89caf82a27b271 Mon Sep 17 00:00:00 2001 From: Gustav Simonsson Date: Mon, 19 Sep 2016 02:07:20 -0400 Subject: core/state, light: remove unused StateObject.initCode --- light/state_object.go | 3 --- 1 file changed, 3 deletions(-) (limited to 'light') 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 -- cgit v1.2.3