File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -298,7 +298,7 @@ func (s *StateDB) SubRefund(gas uint64) {
298298}
299299
300300// Exist reports whether the given account address exists in the state.
301- // Notably this also returns true for self-destructed accounts.
301+ // Notably this also returns true for self-destructed accounts within the current transaction .
302302func (s * StateDB ) Exist (addr common.Address ) bool {
303303 return s .getStateObject (addr ) != nil
304304}
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ type StateDB interface {
6969 SelfDestruct6780 (common.Address ) (uint256.Int , bool )
7070
7171 // Exist reports whether the given account exists in state.
72- // Notably this should also return true for self-destructed accounts.
72+ // Notably this also returns true for self-destructed accounts within the current transaction .
7373 Exist (common.Address ) bool
7474 // Empty returns whether the given account is empty. Empty
7575 // is defined according to EIP161 (balance = nonce = code = 0).
You can’t perform that action at this time.
0 commit comments