Commit cc9f276f authored by Juan Batiz-Benet's avatar Juan Batiz-Benet

notes

parent c3df3973
......@@ -86,7 +86,7 @@ func (dht *IpfsDHT) handleGetValue(p peer.Peer, pmes *Message) (*Message, error)
for _, p := range closer {
log.Debug("handleGetValue returning closer peer: '%s'", p)
if len(p.Addresses()) < 1 {
log.Error("no addresses on peer being sent!")
log.Critical("no addresses on peer being sent!")
}
}
resp.CloserPeers = peersToPBPeers(closer)
......
......@@ -232,6 +232,7 @@ func (r *dhtQueryRunner) queryPeer(p peer.Peer) {
}()
// make sure we're connected to the peer.
// (Incidentally, this will add it to the peerstore too)
err := r.query.dialer.DialPeer(p)
if err != nil {
log.Debug("ERROR worker for: %v -- err connecting: %v", p, err)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment