Forráskód Böngészése

core/state: removed trie copy

obscuren 10 éve
szülő
commit
bdd63837ea
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      core/state/statedb.go

+ 1 - 1
core/state/statedb.go

@@ -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()
 	}