diff --git a/libp2pdht/private/eth/p2p/discoveryv5/protocol.nim b/libp2pdht/private/eth/p2p/discoveryv5/protocol.nim index e28d803..cad8334 100644 --- a/libp2pdht/private/eth/p2p/discoveryv5/protocol.nim +++ b/libp2pdht/private/eth/p2p/discoveryv5/protocol.nim @@ -861,7 +861,7 @@ proc addValue*( cId: NodeId, value: seq[byte]): Future[seq[Node]] {.async.} = - var res = await d.lookup(cId) + var res = await d.lookup(cId, fast=true) trace "lookup returned:", res # TODO: lookup is specified as not returning local, even if that is the closest. Is this OK? if res.len == 0: