Dht maintenance (#267)

* protocol start is now async

* bumping to maintenance branch
This commit is contained in:
Dmitriy Ryajov 2022-10-01 13:08:44 -04:00 committed by GitHub
parent f190bfb96e
commit 8d315b38b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -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()

@ -1 +1 @@
Subproject commit a2c667ea898910c15df8d0b8dc112777b07761b7
Subproject commit 6c06a3b095d1935aaf5eec66295862c9c3b4bac5

@ -1 +1 @@
Subproject commit 69ae7c2012d5ae89eab5ed3d7813daedba4018d9
Subproject commit 4b9fa0356e6cefbbbcedcf21a914cda575229774