Remove clientMode checking in addProvider

This commit is contained in:
Arnaud 2026-05-01 13:57:21 +04:00
parent 558b2f4939
commit 0b3337ca09
No known key found for this signature in database
GPG Key ID: A6C7C781817146FA

View File

@ -735,7 +735,7 @@ proc addProvider*(
var res = await d.lookup(cId)
# TODO: lookup is specified as not returning local, even if that is the closest. Is this OK?
if res.len == 0 and not d.clientMode:
if res.len == 0:
res.add(d.localNode)
for toNode in res:
if toNode != d.localNode: