Skip to content
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

fix: take into account var_int for addr. move to parser. #8

Closed
wants to merge 1 commit into from

Conversation

chjj
Copy link
Member

@chjj chjj commented May 17, 2014

I realized there is a var_int at the start of the data in the addr packet. I didn't take this into account originally. It's now fixed, and I moved the actual packet parsing into protocol/parser.js (it seemed more appropriate, not to mention, the readIntv function is there).

@indutny
Copy link
Collaborator

indutny commented May 17, 2014

Thanks, landed in d331cfb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants