doc: fix references in comments

This commit is contained in:
fryorcraken.eth 2023-03-07 15:09:27 +11:00
parent 81ad14cad3
commit 1181eadcf8
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4
1 changed files with 2 additions and 2 deletions

View File

@ -155,7 +155,7 @@ export class RawEnr extends Map<ENRKey, ENRValue> {
* address (e.g. `dns4`, `dnsaddr`, etc).. * address (e.g. `dns4`, `dnsaddr`, etc)..
* *
* If the peer information only contains information that can be represented with the ENR pre-defined keys * If the peer information only contains information that can be represented with the ENR pre-defined keys
* (ip, tcp, etc) then the usage of { @link getLocationMultiaddr } should be preferred. * (ip, tcp, etc) then the usage of { @link ENR.getLocationMultiaddr } should be preferred.
* *
* The multiaddresses stored in this field are expected to be location multiaddresses, ie, peer id less. * The multiaddresses stored in this field are expected to be location multiaddresses, ie, peer id less.
*/ */
@ -175,7 +175,7 @@ export class RawEnr extends Map<ENRKey, ENRValue> {
* address (e.g. `dns4`, `dnsaddr`, etc).. * address (e.g. `dns4`, `dnsaddr`, etc)..
* *
* If the peer information only contains information that can be represented with the ENR pre-defined keys * If the peer information only contains information that can be represented with the ENR pre-defined keys
* (ip, tcp, etc) then the usage of { @link setLocationMultiaddr } should be preferred. * (ip, tcp, etc) then the usage of { @link ENR.setLocationMultiaddr } should be preferred.
* The multiaddresses stored in this field must be location multiaddresses, * The multiaddresses stored in this field must be location multiaddresses,
* ie, without a peer id. * ie, without a peer id.
*/ */