mirror of
https://github.com/status-im/nim-libp2p.git
synced 2025-02-17 23:36:34 +00:00
chore: change advertise
from method to proc
This commit is contained in:
parent
021d618e6f
commit
cdbbabf2e2
@ -530,9 +530,9 @@ proc advertise*(
|
||||
|
||||
await allFutures(futs)
|
||||
|
||||
method advertise*(
|
||||
proc advertise*(
|
||||
rdv: RendezVous, ns: string, ttl: Duration = rdv.minDuration
|
||||
) {.async, base.} =
|
||||
) {.async.} =
|
||||
await rdv.advertise(ns, ttl, rdv.peers)
|
||||
|
||||
proc requestLocally*(rdv: RendezVous, ns: string): seq[PeerRecord] =
|
||||
|
Loading…
x
Reference in New Issue
Block a user