core/state, light: remove unused StateObject.initCode

This commit is contained in:
Gustav Simonsson
2016-09-19 02:07:20 -04:00
parent 88b012ad3b
commit b6b17e5648
3 changed files with 0 additions and 9 deletions

View File

@ -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