Skip to content

Commit dab4549

Browse files
committed
kad-dht/README: Always return k closest peers with FIND_NODE
1 parent e9c18bd commit dab4549

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

kad-dht/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -390,8 +390,8 @@ message Message {
390390
These are the requirements for each `MessageType`:
391391

392392
* `FIND_NODE`: In the request `key` must be set to the binary `PeerId` of the
393-
node to be found. `closerPeers` is set in the response; for an exact match
394-
exactly one `Peer` is returned; otherwise `k` closest `Peer`s are returned.
393+
node to be found. In the response `closerPeers` is set to the `k` closest
394+
`Peer`s.
395395

396396
* `GET_VALUE`: In the request `key` is an unstructured array of bytes. `record`
397397
is set to the value for the given key (if found in the datastore) and

0 commit comments

Comments
 (0)