p2p/discover: continue

This commit is contained in:
Felix Lange 2025-09-12 12:50:07 +02:00 committed by Alvarez
parent 60a6847680
commit c3f0e7a588

View file

@ -190,6 +190,8 @@ func (it *lookupIterator) Next() bool {
// If the lookup is empty right after creation, it means the local table
// is in a degraded state, and we need to wait for it to fill again.
it.lookupFailed(it.lookup.tab)
it.lookup = nil
continue
}
// Yield the initial nodes from the iterator before advancing the lookup.
it.buffer = it.lookup.replyBuffer