diff --git a/core/state/stateupdate.go b/core/state/stateupdate.go index a787626024..f4656dfa79 100644 --- a/core/state/stateupdate.go +++ b/core/state/stateupdate.go @@ -223,11 +223,11 @@ func (sc *StateUpdate) IntoChangeset() *StateChangeset { } if len(newValue) == 0 { accounts -= 1 - accountSize -= common.AddressLength + accountSize -= common.HashLength } if len(oldValue) == 0 { accounts += 1 - accountSize += common.AddressLength + accountSize += common.HashLength } accountSize += len(newValue) - len(oldValue) }