From 0f8d7e3bb073d72dc5353416a51fdd624795f597 Mon Sep 17 00:00:00 2001 From: rjl493456442 Date: Fri, 20 Sep 2019 17:23:53 +0800 Subject: [PATCH] core/state: fix state object deep copy --- core/state/state_object.go | 1 + 1 file changed, 1 insertion(+) diff --git a/core/state/state_object.go b/core/state/state_object.go index f9d7559d86..8680de021f 100644 --- a/core/state/state_object.go +++ b/core/state/state_object.go @@ -379,6 +379,7 @@ func (s *stateObject) deepCopy(db *StateDB) *stateObject { stateObject.code = s.code stateObject.dirtyStorage = s.dirtyStorage.Copy() stateObject.originStorage = s.originStorage.Copy() + stateObject.pendingStorage = s.pendingStorage.Copy() stateObject.suicided = s.suicided stateObject.dirtyCode = s.dirtyCode stateObject.deleted = s.deleted