switch to DHT client mode

This commit is contained in:
Max 2022-12-31 17:05:45 +01:00
parent 01d97ce6da
commit cb633965b7

View File

@ -158,7 +158,7 @@ func CreateNode(ctx context.Context, inputKey []byte, port int, handler network.
dhtOut, err = dht.New(
ctx,
node,
dht.Mode(dht.ModeAuto),
dht.Mode(dht.ModeClient),
dht.BootstrapPeers(staticBootstrapPeers...),
dht.BootstrapPeersFunc(func() []peer.AddrInfo {
extraBootstrapNodes := []string{}