From 1b660986345d7dff9381780c74d9b25107c03baf Mon Sep 17 00:00:00 2001 From: VolodymyrBg Date: Sun, 8 Feb 2026 01:41:52 +0200 Subject: [PATCH] core/state: handle BinaryTrie in mustCopyTrie --- core/state/database.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/state/database.go b/core/state/database.go index 4a5547d075..dfa1a947d7 100644 --- a/core/state/database.go +++ b/core/state/database.go @@ -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: