mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-19 11:20:45 +00:00
core/state: handle BinaryTrie in mustCopyTrie
This commit is contained in:
parent
777265620d
commit
1b66098634
1 changed files with 2 additions and 0 deletions
|
|
@ -299,6 +299,8 @@ func mustCopyTrie(t Trie) Trie {
|
||||||
switch t := t.(type) {
|
switch t := t.(type) {
|
||||||
case *trie.StateTrie:
|
case *trie.StateTrie:
|
||||||
return t.Copy()
|
return t.Copy()
|
||||||
|
case *bintrie.BinaryTrie:
|
||||||
|
return t.Copy()
|
||||||
case *transitiontrie.TransitionTrie:
|
case *transitiontrie.TransitionTrie:
|
||||||
return t.Copy()
|
return t.Copy()
|
||||||
default:
|
default:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue