From 1283981388a7588b18fd276e04c69c8e16f1c72e Mon Sep 17 00:00:00 2001 From: Dr Washington Sanchez Date: Sun, 5 Apr 2020 21:07:26 +1000 Subject: [PATCH] Move debug line --- net/retriever/retriever.go | 1 + 1 file changed, 1 insertion(+) diff --git a/net/retriever/retriever.go b/net/retriever/retriever.go index 2a341e1446..c97bae8a7e 100644 --- a/net/retriever/retriever.go +++ b/net/retriever/retriever.go @@ -179,6 +179,7 @@ func (m *MessageRetriever) downloadMessages(peerOut chan ps.PeerInfo) { for p := range peerOut { if len(p.Addrs) > 0 && !m.db.OfflineMessages().Has(p.Addrs[0].String()) && !stringInSlice(p.Addrs[0].String(), pointerList) && !inFlight[p.Addrs[0].String()] { pointerList = append(pointerList, p.Addrs[0].String()) + log.Debugf("Looking for pointer [%v] at %v\n", p.ID.Pretty(), p.Addrs) inFlight[p.Addrs[0].String()] = true log.Debugf("Found pointer with location %s", p.Addrs[0].String()) // IPFS