From d487c421e07acf56f51020f209420698a8fc7f80 Mon Sep 17 00:00:00 2001 From: Felix Lange Date: Fri, 18 Oct 2019 12:24:32 +0200 Subject: [PATCH] p2p/discover: fix comment typos --- p2p/discover/lookup.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/p2p/discover/lookup.go b/p2p/discover/lookup.go index 05a75f4d49..4996df7a5d 100644 --- a/p2p/discover/lookup.go +++ b/p2p/discover/lookup.go @@ -179,11 +179,11 @@ func (it *lookupIterator) Node() *enode.Node { // Next moves to the next node. func (it *lookupIterator) Next() bool { - // Consume next node in lastReply. + // Consume next node in buffer. if len(it.buffer) > 0 { it.buffer = it.buffer[1:] } - // Advance the lookup to refill lastReply. + // Advance the lookup to refill the buffer. for len(it.buffer) == 0 { if it.ctx.Err() != nil { it.lookup = nil