mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-23 05:06:43 +00:00
prepare for rebase
This commit is contained in:
parent
faa0957d9a
commit
0dd1a0cb28
1 changed files with 2 additions and 1 deletions
|
|
@ -498,7 +498,8 @@ func (s *stateObject) deepCopy(db *StateDB) *stateObject {
|
|||
|
||||
switch s.trie.(type) {
|
||||
case *trie.VerkleTrie:
|
||||
// In the Verkle case, the stateObject's trie shares the same reference as the StateDB's trie.
|
||||
// Verkle uses only one tree, and the copy has already been
|
||||
// made in mustCopyTrie.
|
||||
obj.trie = db.trie
|
||||
case *trie.StateTrie:
|
||||
obj.trie = mustCopyTrie(s.trie)
|
||||
|
|
|
|||
Loading…
Reference in a new issue