From 197b404307b2293fba2b1f42f69617409fd8e291 Mon Sep 17 00:00:00 2001 From: Klimov Sergey Date: Mon, 12 May 2025 04:59:37 +0800 Subject: [PATCH] fix Incorrect description of function behavior --- core/state/statedb.go | 1 - 1 file changed, 1 deletion(-) diff --git a/core/state/statedb.go b/core/state/statedb.go index 9378cae7de..ee00711d5d 100644 --- a/core/state/statedb.go +++ b/core/state/statedb.go @@ -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 }