packages/hyprspace: switch to DHT client mode
This commit is contained in:
parent
a01c1a5eea
commit
51cfa3b74d
1 changed files with 1 additions and 1 deletions
|
@ -158,7 +158,7 @@ func CreateNode(ctx context.Context, inputKey []byte, port int, handler network.
|
||||||
dhtOut, err = dht.New(
|
dhtOut, err = dht.New(
|
||||||
ctx,
|
ctx,
|
||||||
node,
|
node,
|
||||||
dht.Mode(dht.ModeAuto),
|
dht.Mode(dht.ModeClient),
|
||||||
dht.BootstrapPeers(staticBootstrapPeers...),
|
dht.BootstrapPeers(staticBootstrapPeers...),
|
||||||
dht.BootstrapPeersFunc(func() []peer.AddrInfo {
|
dht.BootstrapPeersFunc(func() []peer.AddrInfo {
|
||||||
extraBootstrapNodes := []string{}
|
extraBootstrapNodes := []string{}
|
||||||
|
|
Loading…
Reference in a new issue