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 {
|
if dirty {
|
||||||
return value
|
return value
|
||||||
}
|
}
|
||||||
origin := s.GetCommittedState(key)
|
return s.GetCommittedState(key)
|
||||||
return origin
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// getState retrieves a value associated with the given storage key, along with
|
// getState retrieves a value associated with the given storage key, along with
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue