Skip to content
Snippets Groups Projects
Commit efcac23b authored by Jake Taylor's avatar Jake Taylor
Browse files

fix bug

parent 74fc8e65
No related branches found
No related tags found
No related merge requests found
......@@ -150,6 +150,7 @@ func (h *HostPool) GetPreferred(targets []*id.ID) []*connect.Host {
if hostIdx, ok := h.hostMap[*targets[i]]; ok {
result[i] = h.hostList[hostIdx]
i++
continue
}
gwIdx := readRangeUint32(0, h.poolParams.poolSize, h.rng)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment