mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-19 11:20:45 +00:00
core/state: count code update with 7702 clear
This commit is contained in:
parent
cc6de619f0
commit
e6982a76da
1 changed files with 1 additions and 1 deletions
|
|
@ -948,7 +948,7 @@ func (s *StateDB) IntermediateRoot(deleteEmptyObjects bool) common.Hash {
|
|||
s.AccountUpdated += 1
|
||||
|
||||
// Count code writes post-Finalise so reverted CREATEs are excluded.
|
||||
if obj.dirtyCode && len(obj.code) > 0 {
|
||||
if obj.dirtyCode {
|
||||
s.CodeUpdated += 1
|
||||
s.CodeUpdateBytes += len(obj.code)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue