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…
Reference in New Issue