addValue: use fast lookup

Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
This commit is contained in:
Csaba Kiraly 2023-09-04 14:42:16 +02:00
parent f60744e52e
commit cd7beb5ff3
No known key found for this signature in database
GPG Key ID: 0FE274EE8C95166E

View File

@ -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: