Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Fixed splitting Neighbours packet #710

Merged
merged 2 commits into from Mar 14, 2016
Merged

Fixed splitting Neighbours packet #710

merged 2 commits into from Mar 14, 2016

Conversation

arkpar
Copy link
Collaborator

@arkpar arkpar commented Mar 13, 2016

No description provided.

@arkpar arkpar added the A0-pleasereview 🤓 Pull request needs code review. label Mar 13, 2016
rlp = RlpStream::new_list(1);
rlp.begin_list(cmp::min(limit, nearest.len() - n));
count = cmp::min(limit, nearest.len() - n);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't it be: cmp::min(limit, n)?

@gavofyork gavofyork added A8-looksgood 🦄 Pull request is reviewed well. and removed A0-pleasereview 🤓 Pull request needs code review. labels Mar 13, 2016
@gavofyork gavofyork mentioned this pull request Mar 14, 2016
gavofyork added a commit that referenced this pull request Mar 14, 2016
Fixed splitting Neighbours packet
@gavofyork gavofyork merged commit 8ad6687 into master Mar 14, 2016
@gavofyork gavofyork deleted the fix-discovery branch March 14, 2016 00:32
@arkpar
Copy link
Collaborator Author

arkpar commented Mar 14, 2016

merged into beta

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A8-looksgood 🦄 Pull request is reviewed well.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants