aboutsummaryrefslogtreecommitdiffstats
path: root/ethchain
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-05-21 04:43:59 +0800
committerobscuren <geffobscura@gmail.com>2014-05-21 04:43:59 +0800
commit64701e388c3f603a4fad5b6ff45ba2633b3f645e (patch)
tree4ac7be0f58dfb37c8302277673ab2b4cb79a01ac /ethchain
parent7dae955c1a66792bd345c24bace22b69cff8f8a9 (diff)
downloadgo-tangerine-64701e388c3f603a4fad5b6ff45ba2633b3f645e.tar
go-tangerine-64701e388c3f603a4fad5b6ff45ba2633b3f645e.tar.gz
go-tangerine-64701e388c3f603a4fad5b6ff45ba2633b3f645e.tar.bz2
go-tangerine-64701e388c3f603a4fad5b6ff45ba2633b3f645e.tar.lz
go-tangerine-64701e388c3f603a4fad5b6ff45ba2633b3f645e.tar.xz
go-tangerine-64701e388c3f603a4fad5b6ff45ba2633b3f645e.tar.zst
go-tangerine-64701e388c3f603a4fad5b6ff45ba2633b3f645e.zip
Fixed state issue
Diffstat (limited to 'ethchain')
-rw-r--r--ethchain/state.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/ethchain/state.go b/ethchain/state.go
index 63c4a32a6..db715f1cb 100644
--- a/ethchain/state.go
+++ b/ethchain/state.go
@@ -61,9 +61,6 @@ func (s *State) GetStateObject(addr []byte) *StateObject {
cachedStateObject := s.states[string(addr)]
if cachedStateObject != nil {
stateObject.state = cachedStateObject
- } else {
- // If it isn't cached, cache the state
- s.states[string(addr)] = stateObject.state
}
return stateObject