diff --git a/core/state/statedb.go b/core/state/statedb.go index 95406ffba8..525da23b0f 100644 --- a/core/state/statedb.go +++ b/core/state/statedb.go @@ -933,8 +933,8 @@ func (s *StateDB) copyInternal(doPrefetch bool) *StateDB { // along with their original values. state.accounts = copySet(s.accounts) state.storages = copy2DSet(s.storages) - state.accountsOrigin = copySet(state.accountsOrigin) - state.storagesOrigin = copy2DSet(state.storagesOrigin) + state.accountsOrigin = copySet(s.accountsOrigin) + state.storagesOrigin = copy2DSet(s.storagesOrigin) // Deep copy the logs occurred in the scope of block for hash, logs := range s.logs {