From 8d315b38b8eec185f219caf8c62229054652dbdd Mon Sep 17 00:00:00 2001 From: Dmitriy Ryajov Date: Sat, 1 Oct 2022 13:08:44 -0400 Subject: [PATCH] Dht maintenance (#267) * protocol start is now async * bumping to maintenance branch --- codex/discovery.nim | 2 +- vendor/nim-datastore | 2 +- vendor/nim-libp2p-dht | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/codex/discovery.nim b/codex/discovery.nim index 71dd7d7b..944ad821 100644 --- a/codex/discovery.nim +++ b/codex/discovery.nim @@ -143,7 +143,7 @@ proc start*(d: Discovery) {.async.} = .expect("updating SPR") d.protocol.open() - d.protocol.start() + await d.protocol.start() proc stop*(d: Discovery) {.async.} = await d.protocol.closeWait() diff --git a/vendor/nim-datastore b/vendor/nim-datastore index a2c667ea..6c06a3b0 160000 --- a/vendor/nim-datastore +++ b/vendor/nim-datastore @@ -1 +1 @@ -Subproject commit a2c667ea898910c15df8d0b8dc112777b07761b7 +Subproject commit 6c06a3b095d1935aaf5eec66295862c9c3b4bac5 diff --git a/vendor/nim-libp2p-dht b/vendor/nim-libp2p-dht index 69ae7c20..4b9fa035 160000 --- a/vendor/nim-libp2p-dht +++ b/vendor/nim-libp2p-dht @@ -1 +1 @@ -Subproject commit 69ae7c2012d5ae89eab5ed3d7813daedba4018d9 +Subproject commit 4b9fa0356e6cefbbbcedcf21a914cda575229774