mirror of
https://github.com/fluencelabs/js-libp2p
synced 2025-06-26 15:31:34 +00:00
chore: add configuration docs for auto relay and hop service
This commit is contained in:
committed by
Vasco Santos
parent
5c72424e57
commit
11a46ea71e
@ -242,7 +242,7 @@ class AutoRelay {
|
||||
try {
|
||||
const cid = await namespaceToCid(RELAY_RENDEZVOUS_NS)
|
||||
for await (const provider of this._libp2p.contentRouting.findProviders(cid)) {
|
||||
if (!provider || !provider.multiaddrs.length) {
|
||||
if (!provider.multiaddrs.length) {
|
||||
continue
|
||||
}
|
||||
const peerId = provider.id
|
||||
|
Reference in New Issue
Block a user