-
Notifications
You must be signed in to change notification settings - Fork 233
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
chore: update kbucket #549
Conversation
@@ -222,10 +222,10 @@ func (dht *IpfsDHT) refreshCpls(ctx context.Context) error { | |||
return err | |||
} | |||
|
|||
if err := doQuery(tcpl.Cpl, randPeer.String(), walkFnc); err != nil { | |||
if err := doQuery(uint(cpl), randPeer.String(), walkFnc); err != nil { |
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.
TODO: #550 (in a diferent PR)
Some options:
My recommendation here is to do 1a, it's easy and keeps the test true to how it was behaving before this PR. |
…nd refresh routing tables for orphaned nodes
if len(d.RoutingTable().ListPeers()) > 0 { | ||
if err := <-d.RefreshRoutingTable(); err != nil { | ||
t.Fatal(err) | ||
} |
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.
This test had to be modified because of #549 (comment)
No description provided.