From 776002cfaf5c11e329afcf674c9c13fd6c4e40cf Mon Sep 17 00:00:00 2001 From: rjl493456442 Date: Mon, 27 Apr 2026 19:50:04 +0800 Subject: [PATCH] Refactor return statement for clarity --- core/state/state_object.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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