core/state: deleted field in StateObject Copy() and unit test

This commit is contained in:
Gustav Simonsson
2015-09-08 15:53:17 +02:00
parent edaea69817
commit 004ed786b4
2 changed files with 105 additions and 0 deletions

View File

@ -263,6 +263,7 @@ func (self *StateObject) Copy() *StateObject {
stateObject.gasPool.Set(self.gasPool)
stateObject.remove = self.remove
stateObject.dirty = self.dirty
stateObject.deleted = self.deleted
return stateObject
}