Update prestate.go

Co-authored-by: Sina M <1591639+s1na@users.noreply.github.com>
This commit is contained in:
Delweng 2024-10-29 10:58:54 +08:00 committed by GitHub
parent 859bda36cc
commit 9f03a276e4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -273,7 +273,7 @@ func (t *prestateTracer) lookupAccount(addr common.Address) {
if !acc.exists() {
acc.empty = true
}
// The code must be fetched first for the emptiness check.
if t.config.DisableCode {
acc.Code = nil
}