Skip to content

Commit c054b22

Browse files
committed
core/state: fix state object deep copy ethereum#20100 (#1190)
1 parent 9e632fa commit c054b22

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/state/state_object.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -403,6 +403,7 @@ func (s *stateObject) deepCopy(db *StateDB, onDirty func(addr common.Address)) *
403403
stateObject.code = s.code
404404
stateObject.dirtyStorage = s.dirtyStorage.Copy()
405405
stateObject.originStorage = s.originStorage.Copy()
406+
stateObject.pendingStorage = s.pendingStorage.Copy()
406407
stateObject.selfDestructed = s.selfDestructed
407408
stateObject.dirtyCode = s.dirtyCode
408409
stateObject.deleted = s.deleted

0 commit comments

Comments
 (0)