Fixed state issue

This commit is contained in:
obscuren
2014-05-20 22:43:59 +02:00
parent 7dae955c1a
commit 64701e388c
2 changed files with 8 additions and 3 deletions

View File

@ -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