chore: apply suggestions from code review

Co-Authored-By: Jacob Heun <jacobheun@gmail.com>
This commit is contained in:
Vasco Santos
2020-04-24 13:01:04 +02:00
parent daf980e2ba
commit ea149cd1fe
5 changed files with 27 additions and 21 deletions

View File

@ -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)
}
```