diff options
Diffstat (limited to 'ethchain/state_object.go')
-rw-r--r-- | ethchain/state_object.go | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ethchain/state_object.go b/ethchain/state_object.go index d974daea5..5a43de35c 100644 --- a/ethchain/state_object.go +++ b/ethchain/state_object.go @@ -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 } // |