aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-06-17 19:39:19 +0800
committerobscuren <geffobscura@gmail.com>2015-06-17 19:39:19 +0800
commitbdd63837ea20f3103cd44a2fb76591be074dcade (patch)
tree2572d7dce4e936a060d73ecc5545db09b947a44d
parentaa699a1283c93740bba15f94c774d92ea6fe1980 (diff)
downloadgo-tangerine-bdd63837ea20f3103cd44a2fb76591be074dcade.tar
go-tangerine-bdd63837ea20f3103cd44a2fb76591be074dcade.tar.gz
go-tangerine-bdd63837ea20f3103cd44a2fb76591be074dcade.tar.bz2
go-tangerine-bdd63837ea20f3103cd44a2fb76591be074dcade.tar.lz
go-tangerine-bdd63837ea20f3103cd44a2fb76591be074dcade.tar.xz
go-tangerine-bdd63837ea20f3103cd44a2fb76591be074dcade.tar.zst
go-tangerine-bdd63837ea20f3103cd44a2fb76591be074dcade.zip
core/state: removed trie copy
-rw-r--r--core/state/statedb.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/state/statedb.go b/core/state/statedb.go
index 134c4b3c7..f6f63f329 100644
--- a/core/state/statedb.go
+++ b/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()
}