From 04f2200334f8428a5f06f4fd879125745b4621e1 Mon Sep 17 00:00:00 2001 From: Sahil-4555 Date: Sat, 18 Oct 2025 09:08:52 +0530 Subject: [PATCH] fix issue of deep copy --- core/state/statedb.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/state/statedb.go b/core/state/statedb.go index bbca38dca6..b29d67fbfd 100644 --- a/core/state/statedb.go +++ b/core/state/statedb.go @@ -1259,7 +1259,7 @@ func (s *StateDB) commit(deleteEmptyObjects bool, noStorageWiping bool, blockNum }) // Step 2: Launch account trie hashing concurrently (CPU only, no I/O). - trieCopy := s.trie + trieCopy := s.Copy().trie workers.Go(func() error { accountTrieHash = trieCopy.Hash() return nil