mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 18:32:23 +00:00
trie: remove outdated comment
This commit is contained in:
parent
90b83aaec1
commit
9445d583c1
1 changed files with 0 additions and 3 deletions
|
|
@ -542,9 +542,6 @@ func (s *Sync) children(req *nodeRequest, object node) ([]*nodeRequest, error) {
|
|||
if _, ok := node.Val.(hashNode); ok && s.scheme == rawdb.PathScheme {
|
||||
owner, inner := ResolvePath(req.path)
|
||||
for i := 1; i < len(key); i++ {
|
||||
// While checking for a non-existent item in Pebble can be less efficient
|
||||
// without a bloom filter, the relatively low frequency of lookups makes
|
||||
// the performance impact negligible.
|
||||
var exists bool
|
||||
if owner == (common.Hash{}) {
|
||||
exists = rawdb.HasAccountTrieNode(s.database, append(inner, key[:i]...))
|
||||
|
|
|
|||
Loading…
Reference in a new issue