diff --git a/core/state/state_object.go b/core/state/state_object.go index b9a924fe9a..8e72486825 100644 --- a/core/state/state_object.go +++ b/core/state/state_object.go @@ -166,8 +166,7 @@ func (s *stateObject) GetState(key common.Hash) common.Hash { if dirty { return value } - origin := s.GetCommittedState(key) - return origin + return s.GetCommittedState(key) } // getState retrieves a value associated with the given storage key, along with