From 071bab06c2099095e0d4e9de368293211743fbe8 Mon Sep 17 00:00:00 2001 From: Felix Lange Date: Fri, 8 Dec 2023 10:10:21 +0100 Subject: [PATCH] Update sync.go --- trie/sync.go | 1 - 1 file changed, 1 deletion(-) diff --git a/trie/sync.go b/trie/sync.go index 00b2d95b1c..5a6ca5791c 100644 --- a/trie/sync.go +++ b/trie/sync.go @@ -256,7 +256,6 @@ func NewSync(root common.Hash, database ethdb.KeyValueReader, callback LeafCallb // parent for completion tracking. The given path is a unique node path in // hex format and contain all the parent path if it's layered trie node. func (s *Sync) AddSubTrie(root common.Hash, path []byte, parent common.Hash, parentPath []byte, callback LeafCallback) { - // Short circuit if the trie is empty. if root == types.EmptyRootHash { return }