diff --git a/codexdht/private/eth/p2p/discoveryv5/protocol.nim b/codexdht/private/eth/p2p/discoveryv5/protocol.nim index f16e0c0..d3dc632 100644 --- a/codexdht/private/eth/p2p/discoveryv5/protocol.nim +++ b/codexdht/private/eth/p2p/discoveryv5/protocol.nim @@ -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: