Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ class Libp2p extends EventEmitter {
* Stop the libp2p node by closing its listeners and open connections
*
* @async
* @returns {void}
* @returns {Promise<void>}
*/
async stop () {
log('libp2p is stopping')
Expand Down Expand Up @@ -601,7 +601,7 @@ class Libp2p extends EventEmitter {
* instance if one is not provided in options.
*
* @param {object} options - Libp2p configuration options
* @returns {Libp2p}
* @returns {Promise<Libp2p>}
*/
Libp2p.create = async function create (options = {}) {
if (options.peerId) {
Expand Down