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 5bc4bbffdf
commit 0d9118404e
No known key found for this signature in database
GPG Key ID: 0FE274EE8C95166E
1 changed files with 1 additions and 1 deletions

View File

@ -869,7 +869,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: