Skip to content
This repository has been archived by the owner on Jun 26, 2023. It is now read-only.

Commit

Permalink
fix: content and peer routing multiaddrs property (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
vasco-santos authored Apr 23, 2020
1 parent a5d7b14 commit aae9b97
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/content-routing/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Find peers in the network that can provide a specific value, given a key.

It returns an `AsyncIterable` containing the identification and addresses of the peers providing the given key, as follows:

`AsyncIterable<{ id: PeerId, addrs: Multiaddr[] }>`
`AsyncIterable<{ id: PeerId, multiaddrs: Multiaddr[] }>`

### provide

Expand Down
2 changes: 1 addition & 1 deletion src/peer-routing/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,4 @@ Query the network for all multiaddresses associated with a `PeerId`.

It returns the [peerId](https://github.com/libp2p/js-peer-id) together with the known peers [multiaddrs](https://github.com/multiformats/js-multiaddr), as follows:

`Promise<{ id: PeerId, addrs: Multiaddr[] }>`
`Promise<{ id: PeerId, multiaddrs: Multiaddr[] }>`

0 comments on commit aae9b97

Please sign in to comment.