mirror of
https://github.com/logos-messaging/logos-messaging-nim.git
synced 2026-02-25 16:23:12 +00:00
small adaptation to compile rendezvous with libp2p 1.10.1
This commit is contained in:
parent
cc8f453434
commit
edcb535625
@ -77,7 +77,7 @@ proc batchAdvertise*(
|
||||
conn
|
||||
|
||||
let advertCatch = catch:
|
||||
await self.rendezvous.advertise(namespace, Opt.some(ttl))
|
||||
await self.rendezvous.advertise(namespace, ttl)
|
||||
|
||||
for conn in conns:
|
||||
await conn.close()
|
||||
@ -126,7 +126,7 @@ proc batchRequest*(
|
||||
conn
|
||||
|
||||
let reqCatch = catch:
|
||||
await self.rendezvous.request(Opt.some(namespace), Opt.some(count), Opt.some(peers))
|
||||
await self.rendezvous.request(Opt.some(namespace), count, peers)
|
||||
|
||||
for conn in conns:
|
||||
await conn.close()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user