core/state: removed trie copy

This commit is contained in:
obscuren 2015-06-17 13:39:19 +02:00
parent aa699a1283
commit bdd63837ea

View File

@ -259,7 +259,7 @@ func (s *StateDB) Cmp(other *StateDB) bool {
func (self *StateDB) Copy() *StateDB {
state := New(common.Hash{}, self.db)
state.trie = self.trie.Copy()
state.trie = self.trie
for k, stateObject := range self.stateObjects {
state.stateObjects[k] = stateObject.Copy()
}