From b8d6e5e2039d6a57c36c02809212fd96f6ef5743 Mon Sep 17 00:00:00 2001 From: jsvisa Date: Wed, 18 Jun 2025 07:06:55 +0000 Subject: [PATCH] address store as addrhash Signed-off-by: jsvisa --- core/state/stateupdate.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) }