You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 10, 2020. It is now read-only.
Copy file name to clipboardExpand all lines: API/swarm/README.md
+4-6
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ Swarm API
9
9
10
10
##### `JavaScript` - ipfs.swarm.addrs([callback])
11
11
12
-
`callback` must follow `function (err, addrs) {}` signature, where `err` is an error if the operation was not successful. `addrs` will be an array of multiaddrs.
12
+
`callback` must follow `function (err, addrs) {}` signature, where `err` is an error if the operation was not successful. `addrs` will be an array of [`PeerInfo`](https://github.com/libp2p/js-peer-info)s.
13
13
14
14
If no `callback` is passed, a promise is returned.
0 commit comments