From 2b13f3d8eecd7d1c9e369bc1179f6832e14b0003 Mon Sep 17 00:00:00 2001 From: Csaba Kiraly Date: Thu, 2 Oct 2025 12:31:53 +0200 Subject: [PATCH] p2p/enode: fix comment Signed-off-by: Csaba Kiraly --- p2p/enode/iter.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/p2p/enode/iter.go b/p2p/enode/iter.go index 265d8648de0..54c2fc72587 100644 --- a/p2p/enode/iter.go +++ b/p2p/enode/iter.go @@ -174,7 +174,8 @@ type AsyncFilterFunc func(context.Context, *Node) *Node // AsyncFilter creates an iterator which checks nodes in parallel. // The 'check' function is called on multiple goroutines to filter each node // from the upstream iterator. When check returns nil, the node will be skipped. -// It can also return a new node to be returned by the iterator instead of the . +// It can also return a new node to be returned by the iterator instead of the +// original one. func AsyncFilter(it Iterator, check AsyncFilterFunc, workers int) Iterator { f := &asyncFilterIter{ it: ensureSourceIter(it),