mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-19 03:10:48 +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) {
|
||||
case *trie.StateTrie:
|
||||
return t.Copy()
|
||||
case *bintrie.BinaryTrie:
|
||||
return t.Copy()
|
||||
case *transitiontrie.TransitionTrie:
|
||||
return t.Copy()
|
||||
default:
|
||||
|
|
|
|||
Loading…
Reference in a new issue