Commit 4eaf4293 authored by Steven Allen's avatar Steven Allen

fix(bootstrap): use the correct context

parent ef319676
......@@ -108,7 +108,7 @@ func (dht *IpfsDHT) refreshBuckets(ctx context.Context) {
// walk to the generated peer
walkFnc := func(c context.Context) error {
_, err := dht.FindPeer(ctx, randPeerInBucket)
_, err := dht.FindPeer(c, randPeerInBucket)
if err == routing.ErrNotFound {
return nil
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment