We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 294e476 commit ab89bc1Copy full SHA for ab89bc1
src/index.js
@@ -64,7 +64,7 @@ Multiaddr.prototype.toString = function toString () {
64
* JSON.stringify(Multiaddr('/ip4/127.0.0.1/tcp/4001'))
65
* // '/ip4/127.0.0.1/tcp/4001'
66
*/
67
-Multiaddr.prototype.toJSON = Multiaddr.prototype.toString;
+Multiaddr.prototype.toJSON = Multiaddr.prototype.toString
68
69
/**
70
* Returns Multiaddr as a convinient options object to be used with net.createConnection
0 commit comments