fix issue of deep copy

This commit is contained in:
Sahil-4555 2025-10-18 09:08:52 +05:30
parent 3440ce6643
commit 04f2200334

View file

@ -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). // Step 2: Launch account trie hashing concurrently (CPU only, no I/O).
trieCopy := s.trie trieCopy := s.Copy().trie
workers.Go(func() error { workers.Go(func() error {
accountTrieHash = trieCopy.Hash() accountTrieHash = trieCopy.Hash()
return nil return nil