Commit 0b02834c authored by Jeromy's avatar Jeromy

rework dagreader to have a dagservice for node resolution

parent 09f183d1
......@@ -192,7 +192,7 @@ func (dht *IpfsDHT) FindProvidersAsync(key u.Key, count int, timeout time.Durati
provs := dht.providers.GetProviders(key)
for _, p := range provs {
count--
// NOTE: assuming that the list of peers is unique
// NOTE: assuming that this list of peers is unique
ps.Add(p)
peerOut <- p
if count <= 0 {
......
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