Signed-off-by: Jakob Borg <[email protected]>
This commit is contained in:
Jakob Borg committed 2026-11-29 11:13:00 +01:00
1 parent 9f5ea0a920
commit 7132c8fcdd
5 files changed
+62 -34

No files matched your search

+1 -3
View File
@@ -73,9 +73,7 @@ func checkServers(deviceID protocol.DeviceID, timeout time.Duration, bootstrapPe
wg.Go(func() {
ctx, cancel := context.WithTimeout(context.Background(), timeout)
defer cancel()
addresses, err := dht.Lookup(ctx, deviceID, dht.Options{
BootstrapPeers: bootstrapPeers,
})
addresses, err := dht.Lookup(ctx, deviceID, bootstrapPeers)
resc <- checkResult{server: "DHT", addresses: addresses, error: err}
})