mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
Update sync.go
This commit is contained in:
parent
4c30df6075
commit
071bab06c2
1 changed files with 0 additions and 1 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue