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 sivaratrisrinivas
parent ca367d16bf
commit 2b1486186f

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
}