mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-24 05:36:46 +00:00
address store as addrhash
Signed-off-by: jsvisa <delweng@gmail.com>
This commit is contained in:
parent
53a5be12e6
commit
b8d6e5e203
1 changed files with 2 additions and 2 deletions
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue