Fixed reverting error

This commit is contained in:
obscuren
2014-07-03 16:07:21 +02:00
parent 5d67139206
commit 8baa0f84e7
4 changed files with 28 additions and 37 deletions

View File

@ -191,13 +191,12 @@ func (self *StateObject) Copy() *StateObject {
}
stateObject.script = ethutil.CopyBytes(self.script)
stateObject.initScript = ethutil.CopyBytes(self.initScript)
//stateObject.gasPool.Set(self.gasPool)
return self
return stateObject
}
func (self *StateObject) Set(stateObject *StateObject) {
self = stateObject
*self = *stateObject
}
//