Commit cd3cac01 authored by Steven Allen's avatar Steven Allen

go fmt

parent 246579e7
......@@ -230,9 +230,9 @@ func (dht *IpfsDHT) SearchValue(ctx context.Context, key string, opts ...ropts.O
if sel == 1 && !bytes.Equal(v.Val, best.Val) {
best = &v
select {
case out <- v.Val:
case <-ctx.Done():
return
case out <- v.Val:
case <-ctx.Done():
return
}
}
} else {
......
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