mirror of
https://github.com/fluencelabs/js-libp2p
synced 2025-06-28 16:31:35 +00:00
chore: apply suggestions from code review
Co-Authored-By: Jacob Heun <jacobheun@gmail.com>
This commit is contained in:
@ -411,7 +411,7 @@ Once a content router succeeds, the iteration will stop. If the DHT is enabled,
|
||||
```js
|
||||
// Iterate over the providers found for the given cid
|
||||
for await (const provider of libp2p.contentRouting.findProviders(cid)) {
|
||||
console.log(provider.id, provider.addrs)
|
||||
console.log(provider.id, provider.multiaddrs)
|
||||
}
|
||||
```
|
||||
|
||||
|
Reference in New Issue
Block a user