Commit bc69395b authored by Jeromy's avatar Jeromy Committed by Juan Batiz-Benet

writes to ipns work if the top object is the written file (no directories yet!)

parent 9bf956a8
......@@ -103,7 +103,7 @@ func (dht *IpfsDHT) Provide(ctx context.Context, key u.Key) error {
dht.providers.AddProvider(key, dht.self)
peers := dht.routingTables[0].NearestPeers(kb.ConvertKey(key), PoolSize)
if len(peers) == 0 {
return kb.ErrLookupFailure
return nil
}
//TODO FIX: this doesn't work! it needs to be sent to the actual nearest peers.
......
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