diff options
| author | obscuren <geffobscura@gmail.com> | 2015-06-17 19:39:19 +0800 |
|---|---|---|
| committer | obscuren <geffobscura@gmail.com> | 2015-06-17 19:39:19 +0800 |
| commit | bdd63837ea20f3103cd44a2fb76591be074dcade (patch) | |
| tree | 2572d7dce4e936a060d73ecc5545db09b947a44d | |
| parent | aa699a1283c93740bba15f94c774d92ea6fe1980 (diff) | |
| download | dexon-bdd63837ea20f3103cd44a2fb76591be074dcade.tar dexon-bdd63837ea20f3103cd44a2fb76591be074dcade.tar.gz dexon-bdd63837ea20f3103cd44a2fb76591be074dcade.tar.bz2 dexon-bdd63837ea20f3103cd44a2fb76591be074dcade.tar.lz dexon-bdd63837ea20f3103cd44a2fb76591be074dcade.tar.xz dexon-bdd63837ea20f3103cd44a2fb76591be074dcade.tar.zst dexon-bdd63837ea20f3103cd44a2fb76591be074dcade.zip | |
core/state: removed trie copy
| -rw-r--r-- | core/state/statedb.go | 2 |
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() } |
