docs(fix): fix contentRouting.getMany (#803)

This commit is contained in:
Samlior 2020-11-18 17:28:43 +08:00 committed by GitHub
parent fef54b2b2c
commit 824a444f56
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -665,7 +665,7 @@ Queries the DHT for the n values stored for the given key (without sorting).
// ... // ...
const key = '/key' const key = '/key'
const { from, val } = await libp2p.contentRouting.get(key) const records = await libp2p.contentRouting.getMany(key, 2)
``` ```
### peerRouting.findPeer ### peerRouting.findPeer