mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-26 14:46:42 +00:00
fix Incorrect description of function behavior
This commit is contained in:
parent
fa86416ce9
commit
197b404307
1 changed files with 0 additions and 1 deletions
|
|
@ -298,7 +298,6 @@ func (s *StateDB) SubRefund(gas uint64) {
|
|||
}
|
||||
|
||||
// Exist reports whether the given account address exists in the state.
|
||||
// Notably this also returns true for self-destructed accounts.
|
||||
func (s *StateDB) Exist(addr common.Address) bool {
|
||||
return s.getStateObject(addr) != nil
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue