diff --git a/network/gateway/hostPool.go b/network/gateway/hostPool.go index b7a4a404c01f2db2316c78f6b168db4edb296bf8..173ca2e2a691f94c0b78d4065e9d3bd9ece7ddda 100644 --- a/network/gateway/hostPool.go +++ b/network/gateway/hostPool.go @@ -197,6 +197,7 @@ func (h *HostPool) getPreferred(targets []*id.ID) []*connect.Host { for i := 0; i < length; { if hostIdx, ok := h.hostMap[*targets[i]]; ok { result[i] = h.hostList[hostIdx] + checked[hostIdx] = nil i++ continue }