mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-12 01:41:36 +00:00
Refactor return statement for clarity
This commit is contained in:
parent
c63d796fbf
commit
776002cfaf
1 changed files with 1 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue