From ac085e02a2eab72758e2af2184424de1eaf748b2 Mon Sep 17 00:00:00 2001 From: Felix Lange Date: Tue, 30 May 2017 12:34:36 +0200 Subject: [PATCH] eth/downloader: improve comment --- eth/downloader/statesync.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eth/downloader/statesync.go b/eth/downloader/statesync.go index 4957f64630..71ee16e4c6 100644 --- a/eth/downloader/statesync.go +++ b/eth/downloader/statesync.go @@ -309,8 +309,8 @@ func (s *stateSync) process(req *stateReq) (nproc int, err error) { // Put unfulfilled tasks back. for hash, task := range req.tasks { if len(req.response) > 0 || req.timedOut() { - // Ensure that the item will be retried if the response contained some data or - // timed out. + // Ensure that the item will be retried because it may have been excluded due + // to a protocol limit. delete(task.triedPeers, req.peer.id) } if npeers := s.d.peers.Len(); len(task.triedPeers) >= npeers {