From cb633965b7c91ef9a3ddda545dc86846edcf0880 Mon Sep 17 00:00:00 2001 From: Max Date: Sat, 31 Dec 2022 17:05:45 +0100 Subject: [PATCH] switch to DHT client mode --- p2p/node.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/p2p/node.go b/p2p/node.go index 872bc18..d0ffcb5 100644 --- a/p2p/node.go +++ b/p2p/node.go @@ -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{}