-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
update/match go multiaddr #10
Conversation
@@ -47,7 +42,7 @@ Multiaddr.prototype.toOptions = function toOptions () { | |||
|
|||
// get the multiaddr protocols | |||
Multiaddr.prototype.inspect = function inspect () { | |||
return '<Mutliaddr ' + | |||
return '<Multiaddr ' + |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Would be nice to have CI run on this, no idea if linting + tests are actually passing, but if they do LGTM |
f376bed
to
f64144e
Compare
@dignifiedquire agree, I've opened an issue for it, waiting on @jbenet #8 But I can assure you that the tests run on my machine™ :D |
var convert = require('./convert') | ||
var protocols = require('./protocols') | ||
var varint = require('varint') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice, implementation of varints. we should make go-multiaddr have them too.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
doesn't go-multiaddr have varints for a long time? -> https://github.com/jbenet/go-multiaddr/blob/master/codec.go#L75
No description provided.