core/state: fix double-increment of accountLoaded counter (#31493)

This commit is contained in:
Delweng 2025-03-26 12:59:40 +08:00 committed by GitHub
parent c49aadc4b6
commit c1ff2d8ba9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -600,7 +600,6 @@ func (s *StateDB) getStateObject(addr common.Address) *stateObject {
// Insert into the live set
obj := newObject(s, addr, acct)
s.setStateObject(obj)
s.AccountLoaded++
return obj
}